Exemplo n.º 1
0
        public void CanEditIngredient()
        {
            _repo.EditIngredient(Mocks.mockIngredient);
            var editedIngredientName = _repo.GetIngredientById
                                           (Mocks.mockIngredient.IngredientId).Name;

            Assert.AreEqual(editedIngredientName, Mocks.mockIngredient.Name);
        }