Ellipse extends AbstractShape { public int getMaximumIntervals() { return this.maximumIntervals; } 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 testMaxIntervalGetter() { Ellipse ellipse = new Ellipse(); int actualMaxNumberIntervals = ellipse.getMaximumIntervals(); assertEquals("default number of intervals", ellipse.maximumIntervals, actualMaxNumberIntervals); }