@Test public void generateCodeForKeyboardSendKeys() throws Exception { assertThat(this.action.keyboard().sendKeys("foobar"), is(equalTo("keyboard.sendKeys(\"foobar\")"))); }
public Keyboard keyboard() { return new Keyboard(); }
ActionsGenerator { public Keyboard keyboard() { return new Keyboard(); } }
ActionsGenerator { public Keyboard keyboard() { return new Keyboard(); } ActionsGenerator(String mouseObject, String keyboardObject, String actionObject); }
ActionsGenerator { public Keyboard keyboard() { return new Keyboard(); } ActionsGenerator(String mouseObject, String keyboardObject, String actionObject); Keyboard keyboard(); Mouse mouse(); Actions builder(); }
ActionsGenerator { public Keyboard keyboard() { return new Keyboard(); } ActionsGenerator(String mouseObject, String keyboardObject, String actionObject); Keyboard keyboard(); Mouse mouse(); Actions builder();  }