public void No_match_if_inner_matcher_matches() { var isNot = new IsNotMatcher <string>(_always); var matches = isNot.Matches("test"); Assert.That(matches, Is.EqualTo(false)); }
public void Description_adds_not() { var matcher = Is.Not(_always); var description = new StringDescription(); matcher.DescribeTo(description); Assert.That(description.ToString(), Is.EqualTo("not Always")); }
public void Match_if_inner_matcher_does_not_match() { Assert.That("test", Is.Not("somethingelse")); }