public void MapFrom_Should_ReturnCorrectInstanceOf_BarViewModel()
        {
            //Arrange
            var sut = new SearchBarViewModelMapper();

            var bar = new SearchBarDto
            {
                Id            = Guid.NewGuid(),
                Name          = "testName",
                ImagePath     = "testPath",
                Address       = "testAddress",
                AverageRating = 5,
            };

            //Act
            var result = sut.MapFrom(bar);

            //Assert
            Assert.IsInstanceOfType(result, typeof(BarViewModel));
        }
        public void MapFrom_Should_CorrectlyMapFrom_SearchBar_To_BarViewModel()
        {
            //Arrange
            var sut = new SearchBarViewModelMapper();

            var bar = new SearchBarDto
            {
                Id            = Guid.NewGuid(),
                Name          = "testName",
                ImagePath     = "testPath",
                Address       = "testAddress",
                AverageRating = 5,
            };

            //Act
            var result = sut.MapFrom(bar);

            //Assert
            Assert.AreEqual(result.Id, bar.Id);
            Assert.AreEqual(result.Name, bar.Name);
            Assert.AreEqual(result.ImagePath, bar.ImagePath);
            Assert.AreEqual(result.Address, bar.Address);
            Assert.AreEqual(result.AverageRating, bar.AverageRating);
        }