### Question:
ClearAction implements Action { @Override public void perform(final WebElement target) { target.clear(); }  static ClearAction clearAction(); @Override void perform(final WebElement target);  }### Answer:
@Test public void shouldInvokeClearOnWebElement() { ClearAction action = new ClearAction(); action.perform(mockElement); verify(mockElement, times(1)).clear(); }