public void StaticEquals() { var id1 = RelationEndPointID.Create(_objectID, _propertyName); var id2 = RelationEndPointID.Create(_objectID, _propertyName); Assert.That(RelationEndPointID.Equals(id1, id2), Is.True); }
public void StaticNotEquals() { var id1 = RelationEndPointID.Create(_objectID, _propertyName); var id2 = RelationEndPointID.Create(DomainObjectIDs.OrderTicket1, "Remotion.Data.DomainObjects.UnitTests.TestDomain.OrderTicket.Order"); Assert.That(RelationEndPointID.Equals(id1, id2), Is.False); }
public void Equals() { var endPointID2 = RelationEndPointID.Create(_objectID, _propertyName); Assert.That(_endPointID.Equals(endPointID2), Is.True); }