public void EqualsIsFalseIfAddressesAreNotTheSame() { var other = new LodgingSearchBasicInfoModel(Lodging); other.Address = "anotheraddress"; Assert.IsFalse(other.Equals(LodgingSearchBasicInfoModel)); }
public void EqualsIsFalseWithAnotherType() { Assert.IsFalse(LodgingSearchBasicInfoModel.Equals("string")); }
public void EqualsIsTrueIfAddressesAreTheSame() { var other = new LodgingSearchBasicInfoModel(Lodging); Assert.IsTrue(other.Equals(LodgingSearchBasicInfoModel)); }