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

ShouldThrowIfInitializedWithUnnasignableType() private method

private ShouldThrowIfInitializedWithUnnasignableType ( ) : void
return void
        public void ShouldThrowIfInitializedWithUnnasignableType()
        {
            var exception = Assert.Throws<ArgumentException>(() => new TypeNameMatcher<IFoo>(new List<Type> { typeof(string) }));
        }