Ellipse extends AbstractShape { public double getHeading() { return heading; } Ellipse();  Ellipse(ShapeAttributes attributes);  Ellipse(Position center, double majorRadius, double minorRadius);  Ellipse(Position center, double majorRadius, double minorRadius, ShapeAttributes attributes); Position getCenter(); Ellipse setCenter(Position position); double getMajorRadius(); Ellipse setMajorRadius(double radius); double getMinorRadius(); Ellipse setMinorRadius(double radius); double getHeading(); Ellipse setHeading(double degrees); boolean isExtrude(); Ellipse setExtrude(boolean extrude); boolean isFollowTerrain(); Ellipse setFollowTerrain(boolean followTerrain); int getMaximumIntervals(); Ellipse setMaximumIntervals(int numIntervals);  }
@Test public void testHeadingGetter() { Ellipse ellipse = new Ellipse(); double heading = 64.3; ellipse.heading = heading; double actualHeading = ellipse.getHeading(); assertEquals("heading getter", heading, actualHeading, 1e-9); }