RepositoryBasedXsdImportManager implements XsdImportManager { @Override public List<NamespaceAndDefinedLocalNames> getAllDefinedTypesLocalNames() { return this.getAllXsdDefinitions(true); }  @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 getAllDefinedLocalNamesForElementsTest() throws Exception { this.setRevisionTo("3465576f5b46079bb26f5c8e93663424440421a0"); RepositoryBasedXsdImportManager manager = (RepositoryBasedXsdImportManager) this.repository.getXsdImportManager(); List<NamespaceAndDefinedLocalNames> list = manager.getAllDefinedTypesLocalNames(); assertEquals(1, list.size()); }