A testing backend for HttpClient which both acts as an HttpBackend and as the HttpTestingController.

HttpClientTestingBackend works by keeping a list of all open requests. As requests come in, they're added to the list. Users can assert that specific requests were made and then flush them. In the end, a verify() method asserts that no unexpected requests were made.

Implements

Constructors

Methods