*/
public void testClear() {
DefaultPieDataset d = new DefaultPieDataset();
d.addChangeListener(this);
// no event is generated if the dataset is already empty
d.clear();
assertNull(this.lastEvent);
d.setValue("A", 1.0);
assertEquals(1, d.getItemCount());
this.lastEvent = null;
d.clear();