InstantConverter implements ITypeConverter<Instant> { @Override public Type getTargetType() { return Instant.class; } InstantConverter(); @Override Instant convert(String value); @Override Type getTargetType(); @Override String toString();  }
@Test public void testGetTargetType() { Assert.assertEquals(Instant.class, new InstantConverter().getTargetType()); }