### Question:
CursorChanger implements MouseMotionClosure { @Override public void mouseMoved(Coordinate coordinate) { polygonPanel.changeCursor(coordinate); } CursorChanger(PolygonPanel polygonPanel); @Override void mouseDragged(MouseButton button, Coordinate coordinate); @Override void mouseMoved(Coordinate coordinate);  }### Answer:
@Test public void changesCursorOnPanel() throws Exception { new CursorChanger(panel).mouseMoved(AnyCoordinate); verify(panel).changeCursor(AnyCoordinate); }