StandardXYSeriesLabelGenerator g
= new StandardXYSeriesLabelGenerator("Series {0}");
XYSeriesCollection dataset = new XYSeriesCollection();
dataset.addSeries(new XYSeries("1"));
dataset.addSeries(new XYSeries("2"));
assertEquals("Series 1", g.generateLabel(dataset, 0));
assertEquals("Series 2", g.generateLabel(dataset, 1));
}
/**
* Some checks for the equals() method.