RepositoryBasedXsdImportManager implements XsdImportManager { @Override public List<NamespaceAndDefinedLocalNames> getAllDeclaredElementsLocalNames() { return this.getAllXsdDefinitions(false); }  @Override List<String> getAllDefinedLocalNames(final Namespace namespace, final boolean getTypes); @Override Map<String, RepositoryFileReference> getMapFromLocalNameToXSD(final Namespace namespace, final boolean getTypes); @Override List<NamespaceAndDefinedLocalNames> getAllDeclaredElementsLocalNames(); @Override List<NamespaceAndDefinedLocalNames> getAllDefinedTypesLocalNames();  }
@Test public void getAllDeclaredElementsLocalNamesTest() throws Exception { this.setRevisionTo("5fdcffa9ccd17743d5498cab0914081fc33606e9"); RepositoryBasedXsdImportManager manager = (RepositoryBasedXsdImportManager) this.repository.getXsdImportManager(); List<NamespaceAndDefinedLocalNames> list = manager.getAllDeclaredElementsLocalNames(); assertEquals(1, list.size()); }