public void Then_it_should_stop() { if (!Task.Run(() => WhenAction.ShouldNotThrow()).Wait(TimeSpan.FromSeconds(10))) { throw new InvalidOperationException("The subscription has not stopped in 10 seconds."); } }
public void Then_it_should_not_fail() { WhenAction.ShouldNotThrow(); }
public void Then_the_exception_should_not_be_wrapped_to_an_aggregate_exception() { WhenAction.ShouldNotThrow <AggregateException>(); }
public void Then_it_should_precede_the_simple_equality_step() { WhenAction.ShouldNotThrow(); }