Unmatched requests

The JUnit rule will verify that all requests received during the course of a test case are served by a configured stub, rather than the default 404. If any are not
a VerificationException is thrown, failing the test. This behaviour can be disabled by passing an extra constructor flag:

Accessing the stubbing and verification DSL from the rule

In addition to the static methods on the WireMock class, it is also
possible to configure stubs etc. via the rule object directly. There are
two advantages to this - 1) it’s a bit faster as it avoids sending
commands over HTTP, and 2) if you want to mock multiple services you can
declare a rule per service but not have to create a client object for
each e.g.