AuditDurationImpl implements AuditDuration { static AuditDuration defaultInstance() { return defaultInstance; } private  AuditDurationImpl(); private  AuditDurationImpl(final long start, final long finish); @Override long getStart(); @Override long getFinish(); @Override long getDifference(); @XmlValue @Override String getDuration(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); static String getStringDuration(final long difference); static AuditDuration sumDuration(Collection<AuditDuration> durations);  }
@Test public void testDefaultInstance() { AuditDuration defaultInstance = AuditDurationImpl.defaultInstance(); assertTrue(defaultInstance == AuditDurationImpl.defaultInstance()); }