What is the role of `HttpTestingController` in Angular testing?
-
A
It intercepts HTTP requests and allows asserting their parameters and flushing responses
-
B
It mocks the router navigation during tests
-
C
It replaces the entire HttpClient with a no-op stub
-
D
It validates HTTP headers on outgoing API calls