Пример #1
0
 @Test
 public void testButtonBlindMore() {
   final ButtonBlindMore button = new ButtonBlindMore(menu);
   final int a = menu.getBlindAmount();
   button.doClick();
   assertTrue(a < menu.getBlindAmount());
 }
Пример #2
0
 @Test
 public void testButtonBlindLess() {
   final ButtonBlindLess button = new ButtonBlindLess(menu);
   menu.setBlindAmount(50);
   final int a = menu.getBlindAmount();
   button.doClick();
   assertTrue(a > menu.getBlindAmount());
 }