@Test public void formatFiveMinutesAgo() { String actual = niceTime.format( fiveMinutesAgo() ); assertThat( actual ).contains( "5 minutes ago" ); }
public String format( Date then ) { return prettyTime.format( then ); }
NiceTime { public String format( Date then ) { return prettyTime.format( then ); } }
NiceTime { public String format( Date then ) { return prettyTime.format( then ); } NiceTime(); }
NiceTime { public String format( Date then ) { return prettyTime.format( then ); } NiceTime(); String format( Date then ); }
NiceTime { public String format( Date then ) { return prettyTime.format( then ); } NiceTime(); String format( Date then );  }