public void StringMatchDoesNotThrowException() { var assertEngine = new ExceptionAssertEngine(); Assert.DoesNotThrow(() => assertEngine.StringsEqualIgnoringCase("foo", "foo", "Failed")); }
public void EmptyAndNullStringsDoesNotThrowException() { var assertEngine = new ExceptionAssertEngine(); Assert.DoesNotThrow(() => assertEngine.StringsEqualIgnoringCase(string.Empty, null, "Failed")); }
public void StringMismatchThrowsException() { var assertEngine = new ExceptionAssertEngine(); Assert.Throws <AssertionException>(() => assertEngine.StringsEqualIgnoringCase("foo", "bar", "Failed")); }