### Question:
FacetCcCourtAreaValueConverter implements FacetValueConverter { @Override public Object convert(String value, XSettings xsettings) { Preconditions.checkNotNull(value); return ccCourtAreaFieldValueConverter.convert(value); }  @Override Object convert(String value, XSettings xsettings); @Override boolean handles(XSettings xsettings); @Autowired void setCcCourtAreaFieldValueConverter(CcCourtAreaFieldValueConverter ccCourtAreaFieldValueConverter);  }### Answer:
@Test(expected = NullPointerException.class) public void convert_NullValue() { converter.convert(null, mock(XSettings.class)); }
@Test public void convert() { String value = "123_123#Appeal Court in Chicago"; CcCourtArea ccCourtArea = new CcCourtArea(); when(ccCourtAreaFieldValueConverter.convert(value)).thenReturn(ccCourtArea); assertTrue(ccCourtArea == converter.convert(value, null)); }