### Question:
LongPropertyConverter extends AbstractPropertyConverter { @Override public Object convert(String value, Context context) { return Long.valueOf(value); }  @Override boolean supports(Class<?> type); @Override Object convert(String value, Context context);  }### Answer:
@Test public void testConvert() throws Exception { assertThat((Long) converter.convert( Long.toString(Long.MIN_VALUE), null), is(equalTo(Long.MIN_VALUE))); assertThat((Long) converter.convert("0", null), is(equalTo(0L))); assertThat((Long) converter.convert( Long.toString(Long.MAX_VALUE), null), is(equalTo(Long.MAX_VALUE))); }