public void ObjectDerivedFromTypeWithEntryTwoAndInterfaceThreeWithIntTest() { var model1 = new EntryClassTwo(); TypeReflections.IsObjectDerivedFrom(model1, typeof(IInterfaceThree <int>)).ShouldBeTrue(); }
public void ObjectDerivedFromTypeWithEntryTwoAndInterfaceFourDefinitionTest() { var model1 = new EntryClassTwo(); TypeReflections.IsObjectDerivedFrom(model1, typeof(IInterfaceFour <,>)).ShouldBeTrue(); }
public void ObjectDerivedFromTypeWithEntryTwoAndInterfaceFourWithIntAndStringTest() { var model1 = new EntryClassTwo(); TypeReflections.IsObjectDerivedFrom(model1, typeof(IInterfaceFour <int, string>)).ShouldBeTrue(); }
public void ObjectDerivedFromTypeWithEntryTwoAndInterfaceFourWithStringAndIntTest() { var model1 = new EntryClassTwo(); TypeReflections.IsObjectDerivedFrom(model1, typeof(IInterfaceFour <string, int>)).ShouldBeFalse(); }
public void ObjectDerivedFromTypeWithEntryTwoAndBaseTwoTest() { var model1 = new EntryClassTwo(); TypeReflections.IsObjectDerivedFrom(model1, typeof(BaseLevelTwo)).ShouldBeTrue(); }