assertNull("Should be unable to resolve namespace", this.namespacePlugins.resolve("http://org.xyz"));
assertNull("Should be unable to resolve entity", this.namespacePlugins.resolveEntity("pub-id", "sys-id"));
}
public void testCanResolveNamespaceFromBundleAfterAddingPlugin() throws IOException, SAXException {
Bundle b = new MockBundle();
this.namespacePlugins.addHandler(b);
NamespaceHandler handler = this.namespacePlugins.resolve("http://www.springframework.org/schema/testme");
assertNotNull("should find handler", handler);
assertTrue("should be TestHandler", handler instanceof TestHandler);
}