### Question:
Icu4jXmppStringprep implements XmppStringprep { @Override public String localprep(String string) throws XmppStringprepException { try { return NODEPREP.prepare(string, StringPrep.DEFAULT); } catch (StringPrepParseException e) { throw new XmppStringprepException(string, e); } } private  Icu4jXmppStringprep(); static void setup(); static Icu4jXmppStringprep getInstance(); @Override String localprep(String string); @Override String domainprep(String string); @Override String resourceprep(String string); static final String NAME; }### Answer:
@Test public void simpleTest() throws XmppStringprepException { assertEquals("foo", stringprep.localprep("FOO")); }