AbstractShape extends AbstractRenderable implements Attributable, Highlightable { @Override public ShapeAttributes getAttributes() { return this.attributes; } AbstractShape();  AbstractShape(ShapeAttributes attributes); @Override ShapeAttributes getAttributes(); @Override void setAttributes(ShapeAttributes attributes); @Override ShapeAttributes getHighlightAttributes(); @Override void setHighlightAttributes(ShapeAttributes highlightAttributes); @Override boolean isHighlighted(); @Override void setHighlighted(boolean highlighted); @WorldWind.AltitudeMode int getAltitudeMode(); void setAltitudeMode(@WorldWind.AltitudeMode int altitudeMode); @WorldWind.PathType int getPathType(); void setPathType(@WorldWind.PathType int pathType); int getMaximumIntermediatePoints(); void setMaximumIntermediatePoints(int maximumIntermediatePoints);  }
@Test public void testGetAttributes() throws Exception { ShapeAttributes attributes = new ShapeAttributes(); AbstractShape shape = new AbstractShapeImpl(attributes); ShapeAttributes result = shape.getAttributes(); assertTrue(attributes == result); }