BarRenderer r = new BarRenderer();
assertEquals(Color.blue, r.getBasePaint());
// first check that autoPopulate==false works as expected
r.setAutoPopulateSeriesPaint(false);
assertEquals(Color.blue, r.lookupSeriesPaint(0));
assertNull(r.getSeriesPaint(0));
// now check autoPopulate==true
r.setAutoPopulateSeriesPaint(true);
/*CategoryPlot plot =*/ new CategoryPlot(null, new CategoryAxis(