MapElementGroup { @Pure public ESRIBounds getBounds() { return new ESRIBounds(this.minx, this.maxx, this.miny, this.maxy); } MapElementGroup(); @Pure static ShapeElementType classifiesElement(MapElement element); @Pure static Map<ShapeElementType, MapElementGroup> classifiesElements(Collection<? extends MapElement> elements); @Pure static Map<ShapeElementType, MapElementGroup> classifiesElements(Iterator<? extends MapElement> elements); static void classifiesElements(Map<ShapeElementType, MapElementGroup> classification,
			Collection<? extends MapElement> elements); static void classifiesElements(Map<ShapeElementType, MapElementGroup> classification,
			Iterator<? extends MapElement> elements); @Pure ESRIBounds getBounds(); @SuppressWarnings("checkstyle:visibilitymodifier")
	final Collection<MapElement> elements; }
@Test public void getBounds() { this.group.add(this.point); this.group.add(this.multiPoint); this.group.add(this.polyline); this.group.add(this.polygon); this.group.add(this.circle); ESRIBounds bounds = this.group.getBounds(); assertEpsilonEquals(-1, bounds.getMinX()); assertEpsilonEquals(-1, bounds.getMinY()); assertEpsilonEquals(1, bounds.getMaxX()); assertEpsilonEquals(1, bounds.getMaxY()); }