### Question:
DefaultIntervalXYDataset extends AbstractIntervalXYDataset implements PublicCloneable { @Override public int getSeriesCount() { return this.seriesList.size(); } DefaultIntervalXYDataset(); @Override int getSeriesCount(); @Override Comparable getSeriesKey(int series); @Override int getItemCount(int series); @Override double getXValue(int series, int item); @Override double getYValue(int series, int item); @Override double getStartXValue(int series, int item); @Override double getEndXValue(int series, int item); @Override double getStartYValue(int series, int item); @Override double getEndYValue(int series, int item); @Override Number getEndX(int series, int item); @Override Number getEndY(int series, int item); @Override Number getStartX(int series, int item); @Override Number getStartY(int series, int item); @Override Number getX(int series, int item); @Override Number getY(int series, int item); void addSeries(Comparable seriesKey, double[][] data); @Override boolean equals(Object obj); @Override int hashCode(); @Override Object clone();  }### Answer:
@Test public void testGetSeriesCount() { DefaultIntervalXYDataset d = new DefaultIntervalXYDataset(); assertEquals(0, d.getSeriesCount()); d = createSampleDataset1(); assertEquals(2, d.getSeriesCount()); }