### Question:
StandardPieToolTipGenerator extends AbstractPieItemLabelGenerator implements PieToolTipGenerator, Cloneable, PublicCloneable,
            Serializable { @Override public Object clone() throws CloneNotSupportedException { return super.clone(); } StandardPieToolTipGenerator();  StandardPieToolTipGenerator(Locale locale);  StandardPieToolTipGenerator(String labelFormat);  StandardPieToolTipGenerator(String labelFormat, Locale locale);  StandardPieToolTipGenerator(String labelFormat,
            NumberFormat numberFormat, NumberFormat percentFormat); @Override String generateToolTip(PieDataset dataset, Comparable key); @Override Object clone(); static final String DEFAULT_TOOLTIP_FORMAT; }### Answer:
@Test public void testCloning() throws CloneNotSupportedException { StandardPieToolTipGenerator g1 = new StandardPieToolTipGenerator(); StandardPieToolTipGenerator g2 = (StandardPieToolTipGenerator) g1.clone(); assertNotSame(g1, g2); assertSame(g1.getClass(), g2.getClass()); assertEquals(g1, g2); assertNotSame(g1.getNumberFormat(), g2.getNumberFormat()); assertNotSame(g1.getPercentFormat(), g2.getPercentFormat()); }