PepNamespaceContext implements NamespaceContext { @Override public String getPrefix(String uri) { throw new UnsupportedOperationException(); } PepNamespaceContext(); @Override String getNamespaceURI(String prefix); @Override String getPrefix(String uri); @SuppressWarnings("rawtypes") @Override Iterator getPrefixes(String val); static final String HL7_PREFIX; static final String HL7_URI; static final String XENC_PREFIX; static final String XENC_URI; static final String RIM_PREFIX; static final String RIM_URI; static final String QUERY_PREFIX; static final String QUERY_URI; static final String IHE_ITI_XDSB_2007_PREFIX; static final String IHE_ITI_XDSB_2007_URI; static final String XACML_2_PREFIX; static final String XACML_2_URI; }
@Test(expected = UnsupportedOperationException.class) public void testGetPrefix() { ctx.getPrefix("someString"); }