2019-10-24 11:36:59 +02:00
|
|
|
package eu.dnetlib.dhp.transformation.vocabulary;
|
|
|
|
|
2020-03-25 16:45:03 +01:00
|
|
|
import org.junit.jupiter.api.Test;
|
|
|
|
import static org.junit.jupiter.api.Assertions.*;
|
2019-10-24 11:36:59 +02:00
|
|
|
public class VocabularyTest {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
public void testLoadVocabulary() throws Exception {
|
|
|
|
|
|
|
|
final Vocabulary vocabulary = VocabularyHelper.getVocabularyFromAPI("dnet:languages");
|
|
|
|
assertEquals("dnet:languages",vocabulary.getName());
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|