Remove deprecated Yin/YangStatementSourceImpl
[yangtools.git] / yang / yang-model-export / src / test / java / org / opendaylight / yangtools / yang / model / export / test / Bug4504Test.java
index 72514b4e5a300cd4067e183938ece57e834c173c..c4d0a7b498333ab9f1ac90e40d229bd6575d1362 100644 (file)
@@ -8,6 +8,7 @@
 package org.opendaylight.yangtools.yang.model.export.test;
 
 import static org.junit.Assert.assertNotNull;
+
 import java.io.File;
 import java.io.FileOutputStream;
 import java.io.OutputStream;
@@ -20,7 +21,7 @@ import org.opendaylight.yangtools.yang.test.util.YangParserTestUtils;
 public class Bug4504Test {
     @Test
     public void test() throws Exception {
-        SchemaContext schema = YangParserTestUtils.parseYangSources("/bugs/bug4504");
+        SchemaContext schema = YangParserTestUtils.parseYangResourceDirectory("/bugs/bug4504");
         assertNotNull(schema);
         final File outDir = new File("target/bug4504-export");
         outDir.mkdirs();