public void assert_with_any_messages_blows_up() { var ex = new ScenarioAssertionException(); ex.Add("You stink!"); Exception <ScenarioAssertionException> .ShouldBeThrownBy(() => ex.AssertAll()); }
public void assert_does_nothing_with_no_messages() { var ex = new ScenarioAssertionException(); ex.AssertAll(); // all good! }