title: Angular 5 Jasmine Error: Expected one matching request for criteria found none
body: <p>I have a very simple service call and a jasmine test for it. </p>
  
  <p>Service call:</p>
  
  <pre><code>myServiceCall(testId: number) : void {
      const url = `${this.url}/paramX/${testId}`;
      this.http.put(url, {},{headers: this.headers}).subscribe();
  }
  </code></pre>
  
  <p>My Test Method:</p>
  
  <pre><code>it('should call myServiceCall', inject([MyService], (service: MyService) =&gt; {
      let testId = undefined;
      service.myServiceCall(testId);
      let req = httpMock.expectOne(environment.baseUrl + "/paramX/123");
  
      expect(req.request.url).toBe(environment.baseUrl + "/paramX/123");
      expect(req.request.body).toEqual({});
  
      req.flush({});
      httpMock.verify();
  }));
  </code></pre>
  
  <p>I get of course an exception as I expect the url parameter to be "123"and not undefined like in this test case scenario.</p>
  
  <blockquote>
    <p>Error: Expected one matching request for criteria "Match URL:
    <a href="http://localhost:8080/myservice/paramX/123" rel="noreferrer">http://localhost:8080/myservice/paramX/123</a>", found none.</p>
  </blockquote>
  
  <p>What I don't understand is why the test framework says </p>
  
  <blockquote>
    <p>found none</p>
  </blockquote>
  
  <p>although the request is made. 
  Is there any possibility to let the test framework tell me what <strong>other actual calls were made</strong>, similar to mockito's verify?</p>