verify(exactly(0), postRequestedFor(urlEqualTo("/login")));
Basically checking if exactly 0 calls were made.
To read more about it. see here
verify(exactly(0), postRequestedFor(urlEqualTo("/login")));
Basically checking if exactly 0 calls were made.
To read more about it. see here