### Question:
DialPlot extends Plot implements DialLayerChangeListener { @Override public int hashCode() { int result = 193; result = 37 * result + ObjectUtils.hashCode(this.background); result = 37 * result + ObjectUtils.hashCode(this.cap); result = 37 * result + this.dialFrame.hashCode(); long temp = Double.doubleToLongBits(this.viewX); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.viewY); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.viewW); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.viewH); result = 37 * result + (int) (temp ^ (temp >>> 32)); return result; } DialPlot();  DialPlot(ValueDataset dataset); DialLayer getBackground(); void setBackground(DialLayer background); DialLayer getCap(); void setCap(DialLayer cap); DialFrame getDialFrame(); void setDialFrame(DialFrame frame); double getViewX(); double getViewY(); double getViewWidth(); double getViewHeight(); void setView(double x, double y, double w, double h); void addLayer(DialLayer layer); int getLayerIndex(DialLayer layer); void removeLayer(int index); void removeLayer(DialLayer layer); void addPointer(DialPointer pointer); int getPointerIndex(DialPointer pointer); void removePointer(int index); void removePointer(DialPointer pointer); DialPointer getPointerForDataset(int datasetIndex); ValueDataset getDataset(); ValueDataset getDataset(int index); void setDataset(ValueDataset dataset); void setDataset(int index, ValueDataset dataset); int getDatasetCount(); @Override void draw(Graphics2D g2, Rectangle2D area, Point2D anchor,
            PlotState parentState, PlotRenderingInfo info); double getValue(int datasetIndex); void addScale(int index, DialScale scale); DialScale getScale(int index); void mapDatasetToScale(int index, int scaleIndex); DialScale getScaleForDataset(int datasetIndex); static Rectangle2D rectangleByRadius(Rectangle2D rect,
            double radiusW, double radiusH); @Override void dialLayerChanged(DialLayerChangeEvent event); @Override boolean equals(Object obj); @Override int hashCode(); @Override String getPlotType();  }### Answer:
@Test public void testHashCode() { DialPlot p1 = new DialPlot(); DialPlot p2 = new DialPlot(); assertEquals(p1, p2); int h1 = p1.hashCode(); int h2 = p2.hashCode(); assertEquals(h1, h2); }