### Question:
DefaultPeriodDuration extends DefaultDuration implements PeriodDuration { @Override public int hashCode() { int hash = 5; hash = 37 * hash + (this.days != null ? this.days.hashCode() : 0); hash = 37 * hash + (this.hours != null ? this.hours.hashCode() : 0); hash = 37 * hash + (this.minutes != null ? this.minutes.hashCode() : 0); hash = 37 * hash + (this.months != null ? this.months.hashCode() : 0); hash = 37 * hash + (this.seconds != null ? this.seconds.hashCode() : 0); hash = 37 * hash + (this.years != null ? this.years.hashCode() : 0); return hash; } DefaultPeriodDuration(final InternationalString years, final InternationalString months, final InternationalString weeks, final InternationalString days,
            final InternationalString hours, final InternationalString minutes, final InternationalString seconds);  DefaultPeriodDuration(long durationInMilliSeconds); @Override InternationalString getDesignator(); @Override InternationalString getYears(); @Override InternationalString getMonths(); @Override InternationalString getDays(); @Override InternationalString getTimeIndicator(); @Override InternationalString getHours(); @Override InternationalString getMinutes(); @Override InternationalString getSeconds(); InternationalString getWeek(); @Override long getTimeInMillis(); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testHashCode() { int result = periodDuration1.hashCode(); assertFalse(periodDuration2.hashCode() == result); }