public void EqualsIsFalseIfAddressesAreTheSame()
        {
            var other = new LodgingBasicInfoModel(Lodging);

            other.Address = "anotheraddress";
            Assert.IsFalse(other.Equals(LodgingBasicInfoModel));
        }
        public void TestInitialize()
        {
            var region = new Region()
            {
                Id   = 1,
                Name = "RegionName"
            };

            var touristSpot = new TouristSpot()
            {
                Id                    = 1,
                Name                  = "name",
                Description           = "description",
                Image                 = new byte[] { 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20 },
                Region                = region,
                TouristSpotCategories = new List <TouristSpotCategory>()
            };

            var lodgingImage = new LodgingImage
            {
                Id        = 1,
                LodgingId = 1,
                ImageData = new byte[] { 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20 }
            };

            Lodging = new Lodging()
            {
                Id          = 1,
                Name        = "Name",
                Description = "Description",
                Rating      = 3,
                IsFull      = true,
                Images      = new List <LodgingImage>()
                {
                    lodgingImage
                },
                PricePerNight       = 100,
                Address             = "Valid Address 123",
                Phone               = "+598 98 303 040",
                ConfirmationMessage = "Your reservation has been confirmed!",
                TouristSpot         = touristSpot
            };
            LodgingBasicInfoModel = new LodgingBasicInfoModel(Lodging);
        }
        public void EqualsIsTrueIfAddressesAreTheSame()
        {
            var other = new LodgingBasicInfoModel(Lodging);

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