dnet-hadoop/dhp-workflows/dhp-aggregation/src/test/java/eu/dnetlib/dhp/transformation/vocabulary/VocabularyTest.java

17 lines
381 B
Java

package eu.dnetlib.dhp.transformation.vocabulary;
import static org.junit.jupiter.api.Assertions.*;
import org.junit.jupiter.api.Test;
public class VocabularyTest {
@Test
public void testLoadVocabulary() throws Exception {
final Vocabulary vocabulary = VocabularyHelper.getVocabularyFromAPI("dnet:languages");
assertEquals("dnet:languages", vocabulary.getName());
}
}