public void CreateAForm_twoIngredients() { Recipe r2 = new Recipe(2); FormIngredients form = new FormIngredients(r2); // Verify Assert.AreEqual("No Recipe Name", form.Text); }
public void CreateAForm_namedRecipe() { // Setup Recipe r = new Recipe(0); r.Name = "aName"; FormIngredients form = new FormIngredients(r); // Verify Assert.AreEqual("aName Add ingredients", form.Text); }
public void SetUp() { Recipe recipe = new Recipe(0); form = new FormIngredients(recipe); }