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

ShouldNotMatchTypeWithoutMatchingAlias() private method

private ShouldNotMatchTypeWithoutMatchingAlias ( ) : void
return void
        public void ShouldNotMatchTypeWithoutMatchingAlias()
        {
            var aliasMatcher = new AliasMatcher(new List<Type> { typeof(Foo) });
            Assert.Throws<ArgumentException>(() => aliasMatcher.GetMatchedType("baz"));
        }