public async Task ThenExceptionIsRecordedInMonitoring() { _handler.WaitUntilCompletion(15.Seconds()).ShouldBe(true); await Patiently.VerifyExpectationAsync( () => Monitoring.Received().HandleException(Arg.Any <string>())); }
public void ThenItGetsHandled() { _handler.WaitUntilCompletion(10.Seconds()).ShouldBe(true); }
public void ThenItGetsHandled() { _handler.WaitUntilCompletion(2.Seconds()).ShouldBeTrue(); }
public void ThenExceptionIsRecordedInMonitoring() { _handler.WaitUntilCompletion(10.Seconds()).ShouldBeTrue(); Patiently.VerifyExpectation(() => Monitoring.Received().HandleException(Arg.Any <string>())); }