Example #1
0
        public void EqualsIsFalseIfAddressesAreNotTheSame()
        {
            var other = new LodgingSearchBasicInfoModel(Lodging);

            other.Address = "anotheraddress";
            Assert.IsFalse(other.Equals(LodgingSearchBasicInfoModel));
        }
Example #2
0
 public void EqualsIsFalseWithAnotherType()
 {
     Assert.IsFalse(LodgingSearchBasicInfoModel.Equals("string"));
 }
Example #3
0
        public void EqualsIsTrueIfAddressesAreTheSame()
        {
            var other = new LodgingSearchBasicInfoModel(Lodging);

            Assert.IsTrue(other.Equals(LodgingSearchBasicInfoModel));
        }