AppHarbor.Tests.TypeNameMatcherTest.ShouldNotBeSatisfiedWhenTypeCantBeFound C# (CSharp) Method

ShouldNotBeSatisfiedWhenTypeCantBeFound() private method

private ShouldNotBeSatisfiedWhenTypeCantBeFound ( Mock matcher ) : void
matcher Mock
return void
        public void ShouldNotBeSatisfiedWhenTypeCantBeFound(Mock<TypeNameMatcher<IFoo>> matcher)
        {
            matcher.Setup(x => x.GetMatchedType(It.IsAny<string>())).Throws<ArgumentException>();
            Assert.False(matcher.Object.IsSatisfiedBy("foo"));
        }