r2.setBaseItemURLGenerator(new StandardCategoryURLGenerator(
"abc.html"));
assertTrue(r1.equals(r2));
// legendItemLabelGenerator
r1.setLegendItemLabelGenerator(new StandardCategorySeriesLabelGenerator(
"XYZ"));
assertFalse(r1.equals(r2));
r2.setLegendItemLabelGenerator(new StandardCategorySeriesLabelGenerator(
"XYZ"));
assertTrue(r1.equals(r2));
// legendItemToolTipGenerator
r1.setLegendItemToolTipGenerator(
new StandardCategorySeriesLabelGenerator("ToolTip"));
assertFalse(r1.equals(r2));
r2.setLegendItemToolTipGenerator(
new StandardCategorySeriesLabelGenerator("ToolTip"));
assertTrue(r1.equals(r2));
// legendItemURLGenerator
r1.setLegendItemURLGenerator(
new StandardCategorySeriesLabelGenerator("URL"));
assertFalse(r1.equals(r2));
r2.setLegendItemURLGenerator(
new StandardCategorySeriesLabelGenerator("URL"));
assertTrue(r1.equals(r2));
}