AppHarbor.Tests.AliasMatcherTest.ShouldBeSatisfiedWhenTypeIsReturned C# (CSharp) Method

ShouldBeSatisfiedWhenTypeIsReturned() private method

private ShouldBeSatisfiedWhenTypeIsReturned ( Mock matcher ) : void
matcher Mock
return void
        public void ShouldBeSatisfiedWhenTypeIsReturned(Mock<AliasMatcher> matcher)
        {
            matcher.Setup(x => x.GetMatchedType(It.IsAny<string>())).Returns(typeof(string));
            Assert.True(matcher.Object.IsSatisfiedBy("foo"));
        }