public void ShouldVerifyZeroInteractionsFailed() { SendHello(1); var ex = Assert.Throws <AssertionException>(() => { MockServerClient.VerifyZeroInteractions(); }); Assert.StartsWith("Request not found exactly 0 times", ex.Message); }
public void ShouldVerifyZeroInteractions() { // act var result = mockServerClient.VerifyZeroInteractions(); // assert Assert.NotNull(result); }
public void ShouldVerifyZeroInteractionsSuccess() { Assert.NotNull(MockServerClient.VerifyZeroInteractions()); }