Package com.yummynoodlebar.events.menu

Examples of com.yummynoodlebar.events.menu.AllMenuItemsEvent


  public static AllMenuItemsEvent allMenuItems() {
    List<MenuItemDetails> menuItemDetails = new ArrayList<MenuItemDetails>();
    menuItemDetails.add(standardMenuItemDetails());
    menuItemDetails.add(standardMenuItemDetails(CHEF_SPECIAL + NAME));
    menuItemDetails.add(standardMenuItemDetails(LOW_CAL + NAME));
    return new AllMenuItemsEvent(menuItemDetails);
  }
View Full Code Here


  MenuPersistenceService menuPersistenceService;
   
  @Test
  public void thatAllMenuItemsReturned() {
   
  AllMenuItemsEvent allMenuItems = menuPersistenceService.requestAllMenuItems(new RequestAllMenuItemsEvent());
 
  assertEquals(3, allMenuItems.getMenuItemDetails().size());
     
  }
View Full Code Here

  OrderService orderService;
     
  @Test
  public void thatAllMenuItemsReturned() {
   
  AllMenuItemsEvent allMenuItems = menuService.requestAllMenuItems(new RequestAllMenuItemsEvent());
 
  assertEquals(3, allMenuItems.getMenuItemDetails().size());
     
  }
View Full Code Here

  MenuService menuService;
     
  @Test
  public void thatAllMenuItemsReturned() {
   
  AllMenuItemsEvent allMenuItems = menuService.requestAllMenuItems(new RequestAllMenuItemsEvent());
 
  assertEquals(3, allMenuItems.getMenuItemDetails().size());
     
 
View Full Code Here

  public static AllMenuItemsEvent allMenuItems() {
    List<MenuItemDetails> menuItemDetails = new ArrayList<MenuItemDetails>();
    menuItemDetails.add(standardMenuItemDetails());
    menuItemDetails.add(standardMenuItemDetails(CHEF_SPECIAL + NAME));
    menuItemDetails.add(standardMenuItemDetails(LOW_CAL + NAME));
    return new AllMenuItemsEvent(menuItemDetails);
  }
View Full Code Here

  public static AllMenuItemsEvent allMenuItems() {
    List<MenuItemDetails> menuItemDetails = new ArrayList<MenuItemDetails>();
    menuItemDetails.add(standardMenuItemDetails());
    menuItemDetails.add(standardMenuItemDetails(CHEF_SPECIAL + NAME));
    menuItemDetails.add(standardMenuItemDetails(LOW_CAL + NAME));
    return new AllMenuItemsEvent(menuItemDetails);
  }
View Full Code Here

  public static AllMenuItemsEvent allMenuItems() {
    List<MenuItemDetails> menuItemDetails = new ArrayList<MenuItemDetails>();
    menuItemDetails.add(standardMenuItemDetails());
    menuItemDetails.add(standardMenuItemDetails(CHEF_SPECIAL + NAME));
    menuItemDetails.add(standardMenuItemDetails(LOW_CAL + NAME));
    return new AllMenuItemsEvent(menuItemDetails);
  }
View Full Code Here

TOP

Related Classes of com.yummynoodlebar.events.menu.AllMenuItemsEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.