public void DescribeTo() { var matcher = new CombinableMatcher <string>(_failingMatcher); var description = new StringDescription(); matcher.DescribeTo(description); Assert.Equal("Failing matcher", description.ToString()); }
public void DescribeTo() { var matcher = new CombinableMatcher <string>(failingMatcher); var description = new StringDescription(); matcher.DescribeTo(description); Assert.AreEqual("Failing matcher", description.ToString(), "Expected no match if either matcher fails."); }
public void DescribeTo() { var matcher = new CombinableMatcher<string>(failingMatcher); var description = new StringDescription(); matcher.DescribeTo(description); Assert.AreEqual("Failing matcher", description.ToString(), "Expected no match if either matcher fails."); }