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

			Assert.NotNull(matcher);
		}
Esempio n. 2
0
        public void ShouldCreateMatcher()
        {
            var attr    = new AdvancedMatcherAttribute(typeof(MockMatcher));
            var matcher = attr.CreateMatcher();

            Assert.NotNull(matcher);
        }
		public void ShouldThrowRealException()
		{
			var attr = new AdvancedMatcherAttribute(typeof(ThrowingMatcher));
			Assert.Throws<ArgumentException>(() => attr.CreateMatcher());
		}
Esempio n. 4
0
        public void ShouldThrowRealException()
        {
            var attr = new AdvancedMatcherAttribute(typeof(ThrowingMatcher));

            Assert.Throws <ArgumentException>(() => attr.CreateMatcher());
        }