* A test for bug report 1170825 (originally affected XYSeriesCollection,
* this test is just copied over).
*/
public void test1170825() {
OHLCSeries s1 = new OHLCSeries("Series1");
OHLCSeriesCollection dataset = new OHLCSeriesCollection();
dataset.addSeries(s1);
try {
/* XYSeries s = */ dataset.getSeries(1);
}
catch (IllegalArgumentException e) {
// correct outcome
}
catch (IndexOutOfBoundsException e) {