DecoratedMouse extends DecoratedChild<Mouse,DecoratedWebDriver> implements Mouse { @Override public void doubleClick(Coordinates coordinates) { getOriginal().doubleClick(coordinates); } DecoratedMouse(final Mouse mouse, final DecoratedWebDriver driverWrapper); @Override void click(Coordinates coordinates); @Override void doubleClick(Coordinates coordinates); @Override void mouseDown(Coordinates coordinates); @Override void mouseUp(Coordinates coordinates); @Override void mouseMove(Coordinates coordinates); @Override void mouseMove(Coordinates coordinates, long x, long y); @Override void contextClick(Coordinates coordinates);  }
@Test void testDoubleClick() { final Coordinates coords = mock(Coordinates.class); verifyFunction($ -> $.doubleClick(coords)); }