### Question:
YearConverter extends AbstractConverter<Year> { @Override public Year fromString(String str) { return new Year(str); }  @Override Year fromString(String str); @Override Class<Year> getJavaType();  }### Answer:
@Test public void FromString() { assertEquals(new Year(2000), converter.fromString("2000")); }