AbstractShape extends AbstractRenderable implements Attributable, Highlightable { @Override public boolean isHighlighted() { return this.highlighted; } 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 testIsHighlighted() throws Exception { AbstractShape shape = new AbstractShapeImpl(); shape.highlighted = true; boolean result = shape.isHighlighted(); assertTrue(result); }