public void When_a_property_throws_it_does_not_prevent_other_properties_from_being_written() { var log = new SomePropertyThrows().ToDisplayString(); log.Should().Contain("Ok:"); log.Should().Contain("Fine:"); log.Should().Contain("PerfectlyFine:"); }
public void When_a_property_throws_then_then_exception_is_written_in_place_of_the_property() { var log = new SomePropertyThrows().ToDisplayString(); log.Should().Contain("NotOk: { System.Exception: "); }