@Test(expected = IllegalArgumentException.class) public void nullMapPaneArgCausesException() throws Exception { tool.setMapPane(null); }
public void setMapPane(MapPane pane) { if (pane == null) { throw new IllegalArgumentException("pane arg must not be null"); } this.mapPane = pane; }
CursorTool extends MapMouseAdapter { public void setMapPane(MapPane pane) { if (pane == null) { throw new IllegalArgumentException("pane arg must not be null"); } this.mapPane = pane; } }
CursorTool extends MapMouseAdapter { public void setMapPane(MapPane pane) { if (pane == null) { throw new IllegalArgumentException("pane arg must not be null"); } this.mapPane = pane; }  }
CursorTool extends MapMouseAdapter { public void setMapPane(MapPane pane) { if (pane == null) { throw new IllegalArgumentException("pane arg must not be null"); } this.mapPane = pane; }  void setMapPane(MapPane pane); MapPane getMapPane(); Cursor getCursor(); boolean drawDragBox(); }
CursorTool extends MapMouseAdapter { public void setMapPane(MapPane pane) { if (pane == null) { throw new IllegalArgumentException("pane arg must not be null"); } this.mapPane = pane; }  void setMapPane(MapPane pane); MapPane getMapPane(); Cursor getCursor(); boolean drawDragBox();  }