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

            var lodging = new Lodging
            {
                Id                  = 1,
                Name                = "Name",
                Description         = "Description",
                Rating              = 3,
                IsFull              = true,
                PricePerNight       = 100,
                Address             = "Valid Address 123",
                Phone               = "+598 98 303 040",
                ConfirmationMessage = "Your reservation has been confirmed!",
                TouristSpot         = touristSpot
            };

            LodgingImage = new LodgingImage
            {
                Id        = 1,
                LodgingId = lodging.Id,
                Lodging   = lodging,
                ImageData = new byte[] { 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20 }
            };
            LodgingImageBasicInfoModel = new LodgingImageBasicInfoModel(LodgingImage);
        }
        public void DoesNotEqualWithDifferentId()
        {
            var anotherLodgingImage = LodgingImage;

            anotherLodgingImage.Id = 3;

            var anotherModel = new LodgingImageBasicInfoModel(anotherLodgingImage);

            Assert.IsFalse(LodgingImageBasicInfoModel.Equals(anotherModel));
        }
        public void EqualsAnotherWithSameIdAndName()
        {
            var anotherModel = new LodgingImageBasicInfoModel(LodgingImage);

            Assert.IsTrue(LodgingImageBasicInfoModel.Equals(anotherModel));
        }