Definitions { public static void addSpaceRow(KeyboardLayoutBuilder keyboard){ keyboard.newRow() .addKey("Ctrl",17).asModifier().onCtrlShow("CTRL") .addKey('?').withSize(.7f) .addKey(',').withSize(.7f) .addKey('"').withSize(.7f) .addKey(':').withSize(.7f) .addKey("Space", 32).withSize(2f) .addKey(';').withSize(.7f) .addKey('.').withSize(.7f) .addKey('\'').withSize(.7f) .addEnterKey() ; }  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 addSpaceRow() throws KeyboardLayoutException { KeyboardLayoutBuilder builder = builder(); Definitions.addSpaceRow(builder); validate(builder); }