### Question:
DefaultPeriodDuration extends DefaultDuration implements PeriodDuration { @Override public String toString() { StringBuilder s = new StringBuilder(); s.append(DESIGNATOR); if (years != null) { s.append(years).append('Y'); } if (months != null) { s.append(months).append('M'); } if (weeks != null) { s.append(weeks).append('W'); } if (days != null) { s.append(days).append('D'); } s.append(TIME_INDICATOR); if (hours != null) { s.append(hours).append('H'); } if (minutes != null) { s.append(minutes).append('M'); } if (seconds != null) { s.append(seconds).append('S'); } else { s.append("0S"); } return s.toString(); } 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 testToString() { String result = periodDuration1.toString(); assertFalse(periodDuration2.toString().equals(result)); }