### Question:
NSManager { public String getPrefixFromNS(String namespace) { return cache.get(namespace); } NSManager(); String getPrefixFromNS(String namespace); Set<String> getNamespaces();  }### Answer:
@Test public void testGetPrefix() { NSManager nsMan = new NSManager(); assertEquals("wsaw", nsMan.getPrefixFromNS(JAXWSAConstants.NS_WSAW)); assertEquals("soap", nsMan.getPrefixFromNS(WSDLConstants.NS_SOAP)); assertEquals("soap12", nsMan.getPrefixFromNS(WSDLConstants.NS_SOAP12)); }