public void IsRecipesControllerReturnsGetPublicRecipes() { //Act var result = _recipesController.GetPublicRecipes(); //Assert Assert.Single(result.Value); Assert.Equal("Frytki", result.Value[0].Name); Assert.Equal("Pokrój i usmaż ziemniaki. Posól.", result.Value[0].Instruction); Assert.Equal("frytki.jpeg", result.Value[0].NameOfImage); Assert.Equal(3, result.Value[0].Ingredients.ToList().Count()); }