Пример #1
0
        public void DescribeTo()
        {
            var matcher     = new CombinableMatcher <string>(_failingMatcher);
            var description = new StringDescription();

            matcher.DescribeTo(description);

            Assert.Equal("Failing matcher", description.ToString());
        }
Пример #2
0
        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.");
        }
Пример #3
0
        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.");
        }