### Question:
StandardXYSeriesLabelGenerator implements XYSeriesLabelGenerator,
        Cloneable, PublicCloneable, Serializable { @Override public Object clone() throws CloneNotSupportedException { return super.clone(); } StandardXYSeriesLabelGenerator();  StandardXYSeriesLabelGenerator(String format); @Override String generateLabel(XYDataset dataset, int series); @Override Object clone(); @Override boolean equals(Object obj); @Override int hashCode(); static final String DEFAULT_LABEL_FORMAT; }### Answer:
@Test public void testCloning() throws CloneNotSupportedException { StandardXYSeriesLabelGenerator g1 = new StandardXYSeriesLabelGenerator("Series {0}"); StandardXYSeriesLabelGenerator g2 = (StandardXYSeriesLabelGenerator) g1.clone(); assertNotSame(g1, g2); assertSame(g1.getClass(), g2.getClass()); assertEquals(g1, g2); }