public void SoftlyAssert_ManyFailures() { Action sa = () => SafeActions.Safely(ManyFailureActions(Tested)); sa.Should().Throw <SafeActionsException>().WithMessage(Message_ManyFailures); Tested.Value.Should().BeTrue(); }
public void SoftlyAssert_Pass() { Action sa = () => SafeActions.Safely(PassingActions(Tested)); sa.Should().NotThrow(); Tested.Value.Should().BeTrue(); }