public async Task ThenExceptionIsRecordedInMonitoring()
        {
            _handler.WaitUntilCompletion(15.Seconds()).ShouldBe(true);

            await Patiently.VerifyExpectationAsync(
                () => Monitoring.Received().HandleException(Arg.Any <string>()));
        }
Пример #2
0
 public void ThenItGetsHandled()
 {
     _handler.WaitUntilCompletion(10.Seconds()).ShouldBe(true);
 }
Пример #3
0
 public void ThenItGetsHandled()
 {
     _handler.WaitUntilCompletion(2.Seconds()).ShouldBeTrue();
 }
        public void ThenExceptionIsRecordedInMonitoring()
        {
            _handler.WaitUntilCompletion(10.Seconds()).ShouldBeTrue();

            Patiently.VerifyExpectation(() => Monitoring.Received().HandleException(Arg.Any <string>()));
        }