### Question:
DefaultIntervalLength extends DefaultDuration implements IntervalLength { @Override public int hashCode() { int hash = 5; hash = 37 * hash + (this.unit != null ? this.unit.hashCode() : 0); hash = 37 * hash + this.factor; hash = 37 * hash + this.radix; hash = 37 * hash + this.value; return hash; } DefaultIntervalLength(final Unit unit, final int radix, final int factor, final int value); @Override Unit getUnit(); @Override int getRadix(); @Override int getFactor(); @Override int getValue(); @Override long getTimeInMillis(); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testHashCode() { int result = intervalLength1.hashCode(); assertFalse(intervalLength2.hashCode() == result); }