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