public void GetEntityType_returns_null_for_nongeneric_identity_interface(EntityTypeFromIdentityTypeProvider sut) { Assert.That(sut.GetEntityType(typeof(IIdentity)), Is.Null); }
public void GetEntityType_returns_correct_entity_type_for_generic_identity_class(EntityTypeFromIdentityTypeProvider sut) { Assert.That(sut.GetEntityType(typeof(Identity <long, Cat>)), Is.EqualTo(typeof(Cat))); }