MapMouseEvent extends MouseEvent { @Override public MapPane getSource() { return (MapPane) super.getSource(); } MapMouseEvent(MapPane pane, MouseEvent event);  MapMouseEvent(MapPane pane, MouseWheelEvent event); @Override MapPane getSource(); boolean isWheelEvent(); int getWheelAmount(); DirectPosition2D getMapPosition(); DirectPosition2D getWorldPos(); ReferencedEnvelope getEnvelopeByWorld(double widthWorld); ReferencedEnvelope getEnvelopeByPixels(double widthPixels);  }
@Test public void getSource() throws Exception { createEvent(0, 0); assertEquals(pane, mapEv.getSource()); }