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