public async Task GetIngridient_ShouldReturnIngridient() { //Arrange var(ingridientRepository, dataBase) = GetMocks(); var ingridientService = new IngridientService(ingridientRepository.Object); var idOfIngridient = 1; //Act var ingridient = await ingridientService.GetIngridient(idOfIngridient); //Assert Assert.AreEqual("Ingridient1", ingridient.Name); Assert.AreEqual(200, ingridient.Kcal); }