@Test public void testInstantType(){ InstantTypeConversion instantTypeConversion = new InstantTypeConversion(); Object[] typeKeys = instantTypeConversion.getTypeKeys(); assertEquals(typeKeys[0], Instant.class); assertEquals(typeKeys[1], Instant.class.getName()); }
@Override public Object[] getTypeKeys() { return new Object[] { Instant.class, Instant.class.getName() }; }
InstantTypeConversion implements TypeConverter.Conversion<Instant> { @Override public Object[] getTypeKeys() { return new Object[] { Instant.class, Instant.class.getName() }; } }
InstantTypeConversion implements TypeConverter.Conversion<Instant> { @Override public Object[] getTypeKeys() { return new Object[] { Instant.class, Instant.class.getName() }; }  }
InstantTypeConversion implements TypeConverter.Conversion<Instant> { @Override public Object[] getTypeKeys() { return new Object[] { Instant.class, Instant.class.getName() }; }  @Override Object[] getTypeKeys(); @Override Instant convert(Object value); }
InstantTypeConversion implements TypeConverter.Conversion<Instant> { @Override public Object[] getTypeKeys() { return new Object[] { Instant.class, Instant.class.getName() }; }  @Override Object[] getTypeKeys(); @Override Instant convert(Object value);  }