### Question:
XmlModeler implements ContentModeler { @Override public void registerModelUri(String modelUri) throws BagriException { XSImplementation impl = new XSImplementationImpl(); XSLoader schemaLoader = impl.createXSLoader(null); XSModel schema = schemaLoader.loadURI(modelUri); processModel(schema); } XmlModeler(ModelManagement modelMgr); void init(Properties properties); @Override void registerModel(String model); void registerModels(String modelsUri); @Override void registerModelUri(String modelUri);  }### Answer:
@Test public void registerSecurityModelTest() throws Exception { modelPro.registerModelUri("../etc/samples/tpox/security.xsd"); Collection<Path> paths = model.getTypePaths("/{http: assertNotNull(paths); assertTrue(paths.size() > 0); assertEquals(165, paths.size()); }
@Test public void registerCustomerModelTest() throws Exception { modelPro.registerModelUri("../etc/samples/tpox/custacc.xsd"); Collection<Path> paths = model.getTypePaths("/{http: assertNotNull(paths); assertTrue(paths.size() > 0); assertEquals(162, paths.size()); }