### Question:
LibIdnXmppStringprep implements XmppStringprep { @Override public String localprep(String string) throws XmppStringprepException { try { return Stringprep.nodeprep(string, true); } catch (StringprepException e) { throw new XmppStringprepException(string, e); } } private  LibIdnXmppStringprep(); static void setup(); static LibIdnXmppStringprep 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")); }