### Question:
FacetPrefixedValueConverter implements FacetValueConverter { @Override public boolean handles(XSettings xsettings) { Preconditions.checkNotNull(xsettings); return !StringUtils.isEmpty(xsettings.getFieldValuePrefix()); }  @Override Object convert(String value, XSettings xsettings); @Override boolean handles(XSettings xsettings); @Autowired void setFieldValuePrefixAdder(FieldValuePrefixAdder fieldValuePrefixAdder);  }### Answer:
@Test(expected = NullPointerException.class) public void handles_Null() { converter.handles(null); }
@Test public void handles_FALSE() { XSettings xsettings = new XSettings(); assertFalse(converter.handles(xsettings)); }
@Test public void handles_TRUE() { XSettings xsettings = new XSettings(); xsettings.setFieldValuePrefix("PREFIX"); assertTrue(converter.handles(xsettings)); }