@Test public void getAvailableVocabularies() throws Exception { final Set<String> vocabularyNameSet = this.vocabularies.keySet(); final Set<String> result = new HashSet<>(this.vocabularyManager.getAvailableVocabularies()); Assert.assertEquals(vocabularyNameSet, result); Assert.assertEquals(5, result.size()); }
@Override public List<String> getAvailableVocabularies() { return new ArrayList<>(this.vocabularies.get().keySet()); }
DefaultVocabularyManager implements VocabularyManager { @Override public List<String> getAvailableVocabularies() { return new ArrayList<>(this.vocabularies.get().keySet()); } }
DefaultVocabularyManager implements VocabularyManager { @Override public List<String> getAvailableVocabularies() { return new ArrayList<>(this.vocabularies.get().keySet()); }  }
DefaultVocabularyManager implements VocabularyManager { @Override public List<String> getAvailableVocabularies() { return new ArrayList<>(this.vocabularies.get().keySet()); }  @Override VocabularyTerm resolveTerm(String termId); @Override Vocabulary getVocabulary(String vocabularyId); @Override Set<Vocabulary> getVocabularies(final String category); @Override List<String> getAvailableVocabularies(); @Override List<String> getAvailableCategories(); @Override List<VocabularyTerm> search(@Nullable final String input, @Nullable final String category,
        final int maxResults); @Override boolean hasVocabulary(final String vocabulary); @Override boolean hasCategory(final String category); }
DefaultVocabularyManager implements VocabularyManager { @Override public List<String> getAvailableVocabularies() { return new ArrayList<>(this.vocabularies.get().keySet()); }  @Override VocabularyTerm resolveTerm(String termId); @Override Vocabulary getVocabulary(String vocabularyId); @Override Set<Vocabulary> getVocabularies(final String category); @Override List<String> getAvailableVocabularies(); @Override List<String> getAvailableCategories(); @Override List<VocabularyTerm> search(@Nullable final String input, @Nullable final String category,
        final int maxResults); @Override boolean hasVocabulary(final String vocabulary); @Override boolean hasCategory(final String category);  }