Ejemplo n.º 1
0
        public void CanDeleteRecipe()
        {
            var beforeCount = repo.GetAllRecipes().Count;

            repo.DeleteRecipe(1);
            var afterCount = repo.GetAllRecipes().Count;

            Assert.AreEqual(beforeCount - 1, afterCount);
        }