public void ShouldCreateMatcher()
        {
            var attr = new AdvancedMatcherAttribute(typeof(MockMatcher));
            var matcher = attr.CreateMatcher();

            Assert.IsNotNull(matcher);
        }
 public void ShouldThrowRealException()
 {
     var attr = new AdvancedMatcherAttribute(typeof(ThrowingMatcher));
     AssertHelper.Throws<ArgumentException>(() => attr.CreateMatcher());
 }
        public void ShouldExposeMatcherType()
        {
            var attr = new AdvancedMatcherAttribute(typeof(MockMatcher));

            Assert.AreEqual(typeof(MockMatcher), attr.MatcherType);
        }