public void Equals_GivenDifferentEmail_FalseShouldBeReturned() { var countryId = Guid.NewGuid(); var contact = new AatfContact("f", "l", "p", "a1", "a2", "t", "c", "p", countryId, "te", "z"); var otherContact = new AatfContact("f", "l", "p", "a1", "a2", "t", "c", "p", countryId, "te", "e"); contact.Equals(otherContact).Should().BeFalse(); }
public void Equals_GivenSameContact_TrueShouldBeReturned() { var countryId = Guid.NewGuid(); var contact = new AatfContact("f", "l", "p", "a1", "a2", "t", "c", "p", countryId, "te", "e"); var otherContact = new AatfContact("f", "l", "p", "a1", "a2", "t", "c", "p", countryId, "te", "e"); contact.Equals(otherContact).Should().BeTrue(); }