TrackingCartesianChartModel extends LineChartModel { public long getMax() { return maxDate != null ? maxDate.getTime() : 0; }  Date getMinDate(); long getMin(); long getMax(); Date getMaxDate(); void addDate(Date d);  }
@Test public void testGetMax_1() throws Exception { TrackingCartesianChartModel fixture = new TrackingCartesianChartModel(); fixture.addSeries(new ChartSeries()); long result = fixture.getMax(); assertEquals(0L, result); }
@Test public void testGetMax_2() throws Exception { TrackingCartesianChartModel fixture = new TrackingCartesianChartModel(); fixture.addSeries(new ChartSeries()); long result = fixture.getMax(); assertEquals(0L, result); }