@Test public void getMenuItems() throws Exception { assertNotNull(menuService.getMenuItems()); }
public Collection<MenuItem> getMenuItems() { return Collections.unmodifiableCollection(menuItems.values()); }
MenuService { public Collection<MenuItem> getMenuItems() { return Collections.unmodifiableCollection(menuItems.values()); } }
MenuService { public Collection<MenuItem> getMenuItems() { return Collections.unmodifiableCollection(menuItems.values()); } MenuService(); }
MenuService { public Collection<MenuItem> getMenuItems() { return Collections.unmodifiableCollection(menuItems.values()); } MenuService(); int createMenuItem(MenuItem item); int createMenuItem(int itemId, MenuItem item); Collection<MenuItem> getMenuItems(); MenuItem getMenuItem(int itemId); void updateMenuItem(int itemId, MenuItem item); void removeMenuItem(int itemId); }
MenuService { public Collection<MenuItem> getMenuItems() { return Collections.unmodifiableCollection(menuItems.values()); } MenuService(); int createMenuItem(MenuItem item); int createMenuItem(int itemId, MenuItem item); Collection<MenuItem> getMenuItems(); MenuItem getMenuItem(int itemId); void updateMenuItem(int itemId, MenuItem item); void removeMenuItem(int itemId);  }