/**
* Confirm that the equals method can distinguish all the required fields.
*/
public void testEquals() {
PieSectionEntity e1 = new PieSectionEntity(
new Rectangle2D.Double(1.0, 2.0, 3.0, 4.0), new DefaultPieDataset(),
0, 1, "Key", "ToolTip", "URL"
);
StandardEntityCollection c1 = new StandardEntityCollection();
c1.addEntity(e1);
PieSectionEntity e2 = new PieSectionEntity(
new Rectangle2D.Double(1.0, 2.0, 3.0, 4.0), new DefaultPieDataset(),
0, 1, "Key", "ToolTip", "URL"
);
StandardEntityCollection c2 = new StandardEntityCollection();
c2.addEntity(e2);