public async Task GetReviews()
        {
            var reviews = new List <Review>();
            var review1 = new Review()
            {
                RecipeId = 32, ReviewId = 3, ReviewDescription = "Tacos"
            };
            var review2 = new Review()
            {
                RecipeId = 329, ReviewId = 3, ReviewDescription = "TacoBurrito"
            };
            var review3 = new Review()
            {
                RecipeId = 320, ReviewId = 3, ReviewDescription = "Tacos"
            };

            var result1 = new List <Review>();
            var result2 = new List <Review>();

            using (var context = new InTheKitchenDBContext(testOptions))
            {
                context.Database.EnsureDeleted();
                context.Database.EnsureCreated();
                result2 = await context.Reviews.Where(r => r.RecipeId == 3)
                          .Include(r => r.User)
                          .ToListAsync();
            }
            using (var context = new InTheKitchenDBContext(testOptions))
            {
                context.Database.EnsureCreated();
                var msr = new KitchenRepository(context);
                result1 = await msr.GetReviewsByRecipeId(3);
            }

            Assert.Equal(result1, result2);
        }
 public Task <List <Review> > getReviewsByRecipeId(int recipeId)
 {
     return(_repo.GetReviewsByRecipeId(recipeId));
 }