Definitions { public static void addAzertyRows(KeyboardLayoutBuilder keyboard) { keyboard.newRow() .addKey('a').onShiftUppercase() .addKey('z').onShiftUppercase() .addKey('e').onShiftUppercase() .addKey('r').onShiftUppercase() .addKey('t').onShiftUppercase() .addKey('y').onShiftUppercase() .addKey('u').onShiftUppercase() .addKey('i').onShiftUppercase() .addKey('o').onShiftUppercase() .addKey('p').onShiftUppercase() .newRow() .addKey('q').onShiftUppercase() .addKey('s').onShiftUppercase() .addKey('d').onShiftUppercase() .addKey('f').onShiftUppercase() .addKey('g').onShiftUppercase() .addKey('h').onShiftUppercase() .addKey('j').onShiftUppercase() .addKey('k').onShiftUppercase() .addKey('l').onShiftUppercase() .addKey('m').onShiftUppercase() .addBackspaceKey() .newRow() .addShiftKey() .addKey('w').onShiftUppercase() .addKey('x').onShiftUppercase() .addKey('c').onShiftUppercase() .addKey('v').onShiftUppercase() .addKey('b').onShiftUppercase() .addKey('n').onShiftUppercase() .addKey('!').withSize(.8f) .addKey('?').withSize(.8f) .addTabKey(); }  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 addAzertyRows() throws KeyboardLayoutException { KeyboardLayoutBuilder builder = builder(); Definitions.addAzertyRows(builder); validate(builder); }