### Question:
XYBubbleRenderer extends AbstractXYItemRenderer implements XYItemRenderer, PublicCloneable { @Override public Object clone() throws CloneNotSupportedException { return super.clone(); } XYBubbleRenderer();  XYBubbleRenderer(ScaleType scaleType); ScaleType getScaleType(); boolean getDrawOutlines(); void setDrawOutlines(boolean drawOutlines); @Override Range findDomainBounds(XYDataset dataset); @Override Range findRangeBounds(XYDataset dataset); @Override void drawItem(Graphics2D g2, XYItemRendererState state,
            Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot,
            ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset,
            int series, int item, CrosshairState crosshairState, int pass); @Override LegendItem getLegendItem(int datasetIndex, int series); @Override boolean equals(Object obj); @Override Object clone(); static final long serialVersionUID; }### Answer:
@Test public void testCloning() throws CloneNotSupportedException { XYBubbleRenderer r1 = new XYBubbleRenderer(); XYBubbleRenderer r2 = (XYBubbleRenderer) r1.clone(); assertNotSame(r1, r2); assertSame(r1.getClass(), r2.getClass()); assertEquals(r1, r2); }