public void FoodPlanWithDessertShouldBeInvalid() { var fp = SetupValidBaseFoodPlan(); fp.AddItem(DishType.Dessert); var val = new MorningValidator(); var isValid = val.Validate(fp); Assert.IsFalse(isValid); }
public void FoodPlanWithOneDrinkShouldBeValid() { var fp = SetupValidBaseFoodPlan(); fp.AddItem(DishType.Drink); var val = new MorningValidator(); var isValid = val.Validate(fp); Assert.IsTrue(isValid); }