Definitions { public static void addNumberRow(KeyboardLayoutBuilder keyboard) { keyboard.newRow() .addKey('`') .addKey('1') .addKey('2') .addKey('3') .addKey('4') .addKey('5') .addKey('6') .addKey('7') .addKey('8') .addKey('9') .addKey('0') .addKey('-') .addKey('=') ; }  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 addNumberRow() throws KeyboardLayoutException { KeyboardLayoutBuilder builder = builder(); Definitions.addNumberRow(builder); validate(builder); }