AppHarbor.Tests.AliasMatcherTest.ShouldNotMatchTypeWithoutMatchingAlias C# (CSharp) 메소드

ShouldNotMatchTypeWithoutMatchingAlias() 개인적인 메소드

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