### Question:
LogAxis extends ValueAxis { @Override public int hashCode() { int result = 193; long temp = Double.doubleToLongBits(this.base); result = 37 * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(this.smallestValue); result = 37 * result + (int) (temp ^ (temp >>> 32)); if (this.numberFormatOverride != null) { result = 37 * result + this.numberFormatOverride.hashCode(); } result = 37 * result + this.tickUnit.hashCode(); return result; } LogAxis();  LogAxis(String label); double getBase(); void setBase(double base); String getBaseSymbol(); void setBaseSymbol(String symbol); Format getBaseFormatter(); void setBaseFormatter(Format formatter); double getSmallestValue(); void setSmallestValue(double value); NumberTickUnit getTickUnit(); void setTickUnit(NumberTickUnit unit); void setTickUnit(NumberTickUnit unit, boolean notify,
                            boolean turnOffAutoSelect); NumberFormat getNumberFormatOverride(); void setNumberFormatOverride(NumberFormat formatter); double calculateLog(double value); double calculateValue(double log); @Override double java2DToValue(double java2DValue, Rectangle2D area,
            RectangleEdge edge); @Override double valueToJava2D(double value, Rectangle2D area,
            RectangleEdge edge); @Override void configure(); @Override AxisState draw(Graphics2D g2, double cursor, Rectangle2D plotArea,
            Rectangle2D dataArea, RectangleEdge edge,
            PlotRenderingInfo plotState); @Override List<ValueTick> refreshTicks(Graphics2D g2, AxisState state,
            Rectangle2D dataArea, RectangleEdge edge); double exponentLengthToJava2D(double length, Rectangle2D area,
            RectangleEdge edge); @Override void zoomRange(double lowerPercent, double upperPercent); @Override void pan(double percent); @Override void resizeRange(double percent); @Override void resizeRange(double percent, double anchorValue); @Override void resizeRange2(double percent, double anchorValue); @Override boolean equals(Object obj); @Override int hashCode();  }### Answer:
@Test public void testHashCode() { LogAxis a1 = new LogAxis("Test"); LogAxis a2 = new LogAxis("Test"); assertEquals(a1, a2); int h1 = a1.hashCode(); int h2 = a2.hashCode(); assertEquals(h1, h2); }