Catel.Test.Reflection.ReflectionExtensionsFacts.TheIsInstanceOfTypeExMethod.ReturnsTrueForInheritingReferenceType C# (CSharp) 메소드

ReturnsTrueForInheritingReferenceType() 개인적인 메소드

private ReturnsTrueForInheritingReferenceType ( ) : void
리턴 void
            public void ReturnsTrueForInheritingReferenceType()
            {
                var type = typeof(Exception);
                var instance = new InvalidOperationException();

                Assert.IsTrue(type.IsInstanceOfTypeEx(instance));              
            }