public void compareEqualUserIdentifiers() { CommunicationUserIdentifier identifier1 = new CommunicationUserIdentifier(_id); CommunicationUserIdentifier identifier2 = new CommunicationUserIdentifier(_id); Assert.True(identifier1.Equals(identifier1)); Assert.True(identifier1.Equals(identifier2)); }
public void compareWithNonUserIdentifier() { CommunicationUserIdentifier identifier1 = new CommunicationUserIdentifier(_id); Object identifier2 = new Object(); Assert.False(identifier1.Equals(identifier2)); }