public void TestFixtureSetUp() { _ingredient = new Ingredient { Name = JustAIngredientName, UnitCost = InitialUnitCost, Units = InitialUnits }; }
private static List<Ingredient> IngredientsForRecipe() { var ingredientForRecipe = new Ingredient { Name = JustAIngredient, Units = 1 }; return new List<Ingredient> { ingredientForRecipe }; }
private static List<Ingredient> Ingredients() { const string justAnIngredientName = "Just An Ingredient"; var ingredient1 = new Ingredient { Name = justAnIngredientName, UnitCost = InitialUnitCost, Units = InitialUnits }; var ingredient2 = new Ingredient { Name = justAnIngredientName + " More", UnitCost = InitialUnitCost*2, Units = InitialUnits*2 }; return new List<Ingredient> { ingredient1, ingredient2 }; }
private static List<Ingredient> IngredientsForStock() { var ingredientForStock = new Ingredient { Name = JustAIngredient, Units = 2 }; return new List<Ingredient> { ingredientForStock }; }