@Test public void doesntSupportAnyVocabulary() { when(this.vocabularyInstance.getIdentifier()).thenReturn("invalid"); Assert.assertFalse(this.extension.isVocabularySupported(this.vocabularyInstance)); }
@Override public boolean isVocabularySupported(Vocabulary vocabulary) { return getTargetVocabularyId().equals(vocabulary.getIdentifier()); }
AbstractXliffTranslatedVocabularyExtension implements VocabularyExtension { @Override public boolean isVocabularySupported(Vocabulary vocabulary) { return getTargetVocabularyId().equals(vocabulary.getIdentifier()); } }
AbstractXliffTranslatedVocabularyExtension implements VocabularyExtension { @Override public boolean isVocabularySupported(Vocabulary vocabulary) { return getTargetVocabularyId().equals(vocabulary.getIdentifier()); }  }
AbstractXliffTranslatedVocabularyExtension implements VocabularyExtension { @Override public boolean isVocabularySupported(Vocabulary vocabulary) { return getTargetVocabularyId().equals(vocabulary.getIdentifier()); }  @Override boolean isVocabularySupported(Vocabulary vocabulary); @Override void indexingStarted(Vocabulary vocabulary); @Override void extendTerm(VocabularyInputTerm term, Vocabulary vocabulary); @Override void indexingEnded(Vocabulary vocabulary); @Override void extendQuery(SolrQuery query, Vocabulary vocabulary); }
AbstractXliffTranslatedVocabularyExtension implements VocabularyExtension { @Override public boolean isVocabularySupported(Vocabulary vocabulary) { return getTargetVocabularyId().equals(vocabulary.getIdentifier()); }  @Override boolean isVocabularySupported(Vocabulary vocabulary); @Override void indexingStarted(Vocabulary vocabulary); @Override void extendTerm(VocabularyInputTerm term, Vocabulary vocabulary); @Override void indexingEnded(Vocabulary vocabulary); @Override void extendQuery(SolrQuery query, Vocabulary vocabulary);  }