public void entity_does_not_equal_another_entity()
 {
     _entity.Equals(_anotherEntity).ShouldBe(false);
 }
Пример #2
0
 public void entities_with_different_id_are_not_equal()
 {
     _entityOne.Equals(_entityTwo).ShouldBe(false);
 }
Пример #3
0
 public void entities_of_the_same_type_and_id_are_equal()
 {
     _entityOne.Equals(_entityTwo).ShouldBe(true);
 }
 public void two_transient_entities_are_not_equal()
 {
     _entityOne.Equals(_entityTwo).ShouldBe(false);
 }