Definitions { public static void addArrowsRow(KeyboardLayoutBuilder keyboard) { keyboard.newRow() .addKey("Esc", CODE_ESCAPE) .addTabKey() .addKey("◀", CODE_ARROW_LEFT).asRepeatable() .addKey("▼", CODE_ARROW_DOWN).asRepeatable() .addKey("▲", CODE_ARROW_UP).asRepeatable() .addKey("▶", CODE_ARROW_RIGHT).asRepeatable() .addKey("SYM", CODE_SYMBOLS) ; }  static void addArrowsRow(KeyboardLayoutBuilder keyboard); static void addCopyPasteRow(KeyboardLayoutBuilder keyboard); static void addNumberRow(KeyboardLayoutBuilder keyboard); static void addCustomRow(KeyboardLayoutBuilder keyboard, String symbols); static void addOperatorRow(KeyboardLayoutBuilder keyboard); static void addQwertyRows(KeyboardLayoutBuilder keyboard); static void addAzertyRows(KeyboardLayoutBuilder keyboard); static void addDvorakRows(KeyboardLayoutBuilder keyboard); static void addSymbolRows(KeyboardLayoutBuilder keyboard); static void addSpaceRow(KeyboardLayoutBuilder keyboard); static void addCustomSpaceRow(KeyboardLayoutBuilder keyboard, String symbols);  }
@Test public void addArrowsRow_producesValidResult() throws KeyboardLayoutException { KeyboardLayoutBuilder builder = builder(); Definitions.addArrowsRow(builder); validate(builder); }