public static List<MenuItem> standardMenu() {
return Arrays.asList(yummyItem());
}
static MenuItem yummyItem() {
MenuItem item = new MenuItem();
item.setCost(new BigDecimal("12.99"));
item.setDescription("Crispy Noodles with Sauce - Our signature dish");
item.setId(YUMMY_ITEM);
item.setMinutesToPrepare(10);
item.setName("Yummy Noodles");
item.setIngredients(Collections.singleton(new Ingredient("Noodles", "Egg Fried Noodles.")));
return item;
}