public void Input_MealType_Morning_OK() { string input = "MORniNG"; MealType c = new OrderingValidator().GetMealType(input); Assert.IsTrue(c == MealType.MORNING); }
public void Input_MealType_Night_OK() { string input = "Night"; MealType c = new OrderingValidator().GetMealType(input); Assert.IsTrue(c == MealType.NIGHT); }
public void Input_MealType_Error() { string input = "MORaiNG"; MealType c = new OrderingValidator().GetMealType(input); Assert.IsTrue(c == MealType.NOTAVAILABLE); }