@Test public void testSetSpecial() { Menu m = new Menu(name, description); assertTrue(m.addItem(i1)); assertTrue(m.setSpecial(i1)); assertTrue(m.getSpecial().equals(i1)); }
@Test public void testSetSpecialNoItems() { Menu m = new Menu(name, description); assertFalse(m.setSpecial(i2)); }