public void No_match_if_not_equal() { var isEqual = new IsEqualMatcher <string>("test"); var matches = isEqual.Matches("somethingelse"); Assert.False(matches); }
public void No_match_if_compared_to_null() { var isEqual = new IsEqualMatcher <string>("test"); var matches = isEqual.Matches(null); Assert.False(matches); Assert.False(Is.EqualTo <string>(null).Matches("test")); }