### Question:
StandardChartTheme implements ChartTheme, Cloneable,
        PublicCloneable, Serializable { @Override public Object clone() throws CloneNotSupportedException { return super.clone(); } StandardChartTheme(String name);  StandardChartTheme(String name, boolean shadow); static Font createDefaultFont(int style, int size); static ChartTheme createJFreeTheme(); static ChartTheme createDarknessTheme(); static ChartTheme createLegacyTheme(); Font getExtraLargeFont(); void setExtraLargeFont(Font font); Font getLargeFont(); void setLargeFont(Font font); Font getRegularFont(); void setRegularFont(Font font); Font getSmallFont(); void setSmallFont(Font font); Paint getTitlePaint(); void setTitlePaint(Paint paint); Paint getSubtitlePaint(); void setSubtitlePaint(Paint paint); Drawable getChartBackgroundPainter(); void setChartBackgroundPainter(Drawable painter); Paint getLegendBackgroundPaint(); void setLegendBackgroundPaint(Paint paint); Paint getLegendItemPaint(); void setLegendItemPaint(Paint paint); Drawable getPlotBackgroundPainter(); void setPlotBackgroundPainter(Drawable painter); Drawable getPlotBorderPainter(); void setPlotBorderPainter(Drawable painter); PieLabelLinkStyle getLabelLinkStyle(); void setLabelLinkStyle(PieLabelLinkStyle style); Paint getLabelLinkPaint(); void setLabelLinkPaint(Paint paint); Paint getDomainGridlinePaint(); void setDomainGridlinePaint(Paint paint); Paint getRangeGridlinePaint(); void setRangeGridlinePaint(Paint paint); Paint getBaselinePaint(); void setBaselinePaint(Paint paint); Paint getCrosshairPaint(); void setCrosshairPaint(Paint paint); RectangleInsets getAxisOffset(); void setAxisOffset(RectangleInsets offset); Paint getAxisLabelPaint(); void setAxisLabelPaint(Paint paint); Paint getTickLabelPaint(); void setTickLabelPaint(Paint paint); Paint getItemLabelPaint(); void setItemLabelPaint(Paint paint); boolean isShadowVisible(); void setShadowVisible(boolean visible); Paint getShadowPaint(); void setShadowPaint(Paint paint); BarPainter getBarPainter(); void setBarPainter(BarPainter painter); XYBarPainter getXYBarPainter(); void setXYBarPainter(XYBarPainter painter); Paint getThermometerPaint(); void setThermometerPaint(Paint paint); Paint getErrorIndicatorPaint(); void setErrorIndicatorPaint(Paint paint); Paint getGridBandPaint(); void setGridBandPaint(Paint paint); Paint getGridBandAlternatePaint(); void setGridBandAlternatePaint(Paint paint); String getName(); DrawingSupplier getDrawingSupplier(); void setDrawingSupplier(DrawingSupplier supplier); @Override void apply(JFreeChart chart); @Override boolean equals(Object obj); @Override Object clone();  }### Answer:
@Test public void testCloning() throws CloneNotSupportedException { StandardChartTheme t1 = new StandardChartTheme("Name"); StandardChartTheme t2 = (StandardChartTheme) t1.clone(); assertNotSame(t1, t2); assertSame(t1.getClass(), t2.getClass()); assertEquals(t1, t2); }