DecoratedKeyboard extends DecoratedChild<Keyboard,DecoratedWebDriver> implements Keyboard { @Override public void pressKey(CharSequence charSequence) { getOriginal().pressKey(charSequence); } DecoratedKeyboard(final Keyboard keyboard, final DecoratedWebDriver driverWrapper); @Override void sendKeys(CharSequence... charSequences); @Override void pressKey(CharSequence charSequence); @Override void releaseKey(CharSequence charSequence);  }
@Test void testPressKey() { verifyFunction($ -> $.pressKey("t")); }