### Question:
MouseActions { public MouseActions moveByOffset(int xOffset, int yOffset) { actions().moveByOffset(xOffset, yOffset).perform(); return this; } MouseActions(WebDriver driver); @Deprecated Mouse basic(); MouseActions clickAndHold(); MouseActions release(); MouseActions click(); MouseActions doubleClick(); MouseActions contextClick(); MouseActions moveByOffset(int xOffset, int yOffset);  }### Answer:
@Test public void moveByOffset() { MouseActions actions = new MouseActions(driver); actions.moveByOffset(1, 1); verify(mouse).mouseMove(null, 1, 1); }