public void TestInitialize()
        {
            var category = new Category()
            {
                Id   = 1,
                Name = "category 1"
            };


            var tcs = new List <TouristSpotCategory>()
            {
                new TouristSpotCategory()
                {
                    CategoryId = category.Id, Category = category
                }
            };

            TouristSpot = new TouristSpot()
            {
                Id                    = 1,
                Name                  = "name",
                Description           = "description",
                Image                 = new byte[] { 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20 },
                RegionId              = 1,
                TouristSpotCategories = tcs
            };
            TouristSpotDetailedInfoModel = new TouristSpotDetailedInfoModel(TouristSpot);
        }
        public void DoesNotEqualWithDifferentId()
        {
            var anotherTouristSpot = TouristSpot;

            anotherTouristSpot.Id = 2;
            var anotherTouristSpotModel = new TouristSpotDetailedInfoModel(anotherTouristSpot);

            Assert.IsFalse(TouristSpotDetailedInfoModel.Equals(anotherTouristSpotModel));
        }
        public void EqualsAnotherWithSameIdAndName()
        {
            var anotherTouristSpotModel = new TouristSpotDetailedInfoModel(TouristSpot);

            Assert.IsTrue(TouristSpotDetailedInfoModel.Equals(anotherTouristSpotModel));
        }