public async Task AddBeersRating() { int Id = 2; UserRating userRating = new UserRating(); userRating.Username = "******"; userRating.Rating = 3; userRating.Comments = "Lorem ipsum dolor sit amet, consectetur adipiscing elit"; BeersController beersController = new BeersController(_punkApiService, _conf); var result = await beersController.AddBeer(userRating, Id); Assert.IsNotNull(result); }