@Test public void testSeriesCount() { cm = new ChartModel(FOO, BAR, ZOO); assertEquals("Wrong series count", 3, cm.seriesCount()); }
public int seriesCount() { return seriesSet.size(); }
ChartModel { public int seriesCount() { return seriesSet.size(); } }
ChartModel { public int seriesCount() { return seriesSet.size(); } ChartModel(String... series); }
ChartModel { public int seriesCount() { return seriesSet.size(); } ChartModel(String... series); int seriesCount(); DataPoint addDataPoint(Object label); String[] getSeries(); DataPoint[] getDataPoints(); Object[] getLabels(); int dataPointCount(); DataPoint getLastDataPoint(); void addAnnotation(String key, Object value); Collection<Annot> getAnnotations(); }
ChartModel { public int seriesCount() { return seriesSet.size(); } ChartModel(String... series); int seriesCount(); DataPoint addDataPoint(Object label); String[] getSeries(); DataPoint[] getDataPoints(); Object[] getLabels(); int dataPointCount(); DataPoint getLastDataPoint(); void addAnnotation(String key, Object value); Collection<Annot> getAnnotations();  }