Closed Unisay closed 8 years ago
It should be possible to do
MockServerClient.verify(request(), VerificationTimes.exactly(0))
I have added an extra test to cover that scenario however the test passed as soon as I added it.
This will ensure that a request that matches all requests has been seen exactly zero times. I have also added a syntactic sugar method to the client that underneath does the same thing:
MockServerClient.verifyZeroInteractions()
I'm going to close this ticket
For the negative test case I need to verify there were no interactions with the mock server. Analog of
Mockito.verifyZeroInteractions()
Currently I can only verify interactions for some
HttpRequest[s]
. Is it possible to do something likeMockServerClient.verify(request(), VerificationTimes.exactly(0))
?