Exemplo n.º 1
0
 public void GetIdentityEqualityType_should_return_Animal_for_the_animal_type(EntityIdentityEqualityTypeProvider sut)
 {
     Assert.That(sut.GetIdentityEqualityType(typeof(Animal)), Is.EqualTo(typeof(Animal)));
 }
Exemplo n.º 2
0
 public void GetIdentityEqualityType_should_return_Animal_for_an_animal_instance(EntityIdentityEqualityTypeProvider sut, Animal entity)
 {
     Assert.That(sut.GetIdentityEqualityType(entity), Is.EqualTo(typeof(Animal)));
 }