### Question:
TypeTextAction implements Action, Delayable { @Override public void perform(final WebElement target) { if (delayMillis == 0) { sendKeysWithoutDelay(target); } else { sendKeysWithDelay(target); } } TypeTextAction(final CharSequence... keysToSend); static TypeTextAction typeTextAction(final CharSequence... keysToSend); @Override void perform(final WebElement target); @Override synchronized Action withDelayMillis(final long delayMillis);  }### Answer:
@Test public void shouldInvokeSendKeys() { TypeTextAction action = new TypeTextAction(); action.perform(mockElement); verify(mockElement, times(1)).sendKeys(); }