### Question:
DurationConverter implements ParamConverter<Duration> { @Override public String toString(Duration duration) { return duration.getValue() + Duration.UNITS.get(duration.getTimeUnit()); }  @Override Duration fromString(String value); @Override String toString(Duration duration);  }### Answer:
@Test public void testToString() throws Exception { assertEquals(value, new DurationConverter().toString(duration)); }