public void CorrectMapping_ToCocktailReviewDTO()
        {
            //Arrange
            var sut = new CocktailReviewMapper();

            var options  = Utils.GetOptions(nameof(CorrectMapping_ToCocktailReviewDTO));
            var cocktail = new Cocktail {
                Id = 1, Name = "Mojito"
            };
            var user = new User {
                Id = 2, UserName = "******"
            };
            var review = new CocktailsUsersReviews
            {
                CocktailId = 1,
                Cocktail   = cocktail,
                UserId     = 2,
                User       = user,
                Comment    = "Top!",
                Rating     = 4
            };

            //Act
            var result = sut.MapToCocktailReviewDTO(review);

            //Assert
            Assert.AreEqual(review.CocktailId, result.CocktailId);
            Assert.AreEqual(review.UserId, result.AuthorId);
            Assert.AreEqual(review.Cocktail.Name, result.CocktailName);
            Assert.AreEqual(review.User.UserName, result.Author);
            Assert.AreEqual(review.Comment, result.Comment);
            Assert.AreEqual(review.Rating, result.Rating);
        }
        public void CorrectReturnInstanceType_ToCocktailReviewDTO()
        {
            //Arrange
            var sut = new CocktailReviewMapper();

            var options  = Utils.GetOptions(nameof(CorrectReturnInstanceType_ToCocktailReviewDTO));
            var cocktail = new Cocktail {
                Id = 1, Name = "Mojito"
            };
            var user = new User {
                Id = 2, UserName = "******"
            };
            var review = new CocktailsUsersReviews
            {
                CocktailId = 1,
                Cocktail   = cocktail,
                UserId     = 2,
                User       = user,
                Comment    = "Top!",
                Rating     = 4
            };

            //Act
            var result = sut.MapToCocktailReviewDTO(review);

            //Assert
            Assert.IsInstanceOfType(result, typeof(CocktailReviewDTO));
        }