@Test public void testButtonBlindMore() { final ButtonBlindMore button = new ButtonBlindMore(menu); final int a = menu.getBlindAmount(); button.doClick(); assertTrue(a < menu.getBlindAmount()); }
@Test public void testButtonBlindLess() { final ButtonBlindLess button = new ButtonBlindLess(menu); menu.setBlindAmount(50); final int a = menu.getBlindAmount(); button.doClick(); assertTrue(a > menu.getBlindAmount()); }