public void Assert_AssertEqualText_AssertSuccessful() { // arrange var snapshotAssert = new NUnitAssert(); // act & assert snapshotAssert.Assert("{Same}", "{Same}"); }
public void Assert_AssertUnequalText_ThrowsEqualException() { // arrange var snapshotAssert = new NUnitAssert(); // act Action action = () => snapshotAssert.Assert("{Same}", "{Sme}"); // assert Assert.That(action, Throws.TypeOf <AssertionException>()); }