Adjust to yangtools-2.0.0/odlparent-3.0.0 changes
[netconf.git] / restconf / restconf-nb-rfc8040 / src / test / java / org / opendaylight / restconf / nb / rfc8040 / utils / parser / YangInstanceIdentifierDeserializerTest.java
index 66157f6816b466212d42da12c04c40fc1df5c569..86aa0307b6ba30ed36cf0823bb2ff54ffb3a7689 100644 (file)
@@ -14,6 +14,7 @@ import static org.junit.Assert.fail;
 
 import com.google.common.collect.Iterables;
 import com.google.common.collect.Sets;
+import java.io.FileNotFoundException;
 import java.util.Iterator;
 import java.util.LinkedHashMap;
 import java.util.Map;
@@ -42,9 +43,9 @@ public class YangInstanceIdentifierDeserializerTest {
     private SchemaContext schemaContext;
 
     @Before
-    public void init() throws Exception {
+    public void init() throws FileNotFoundException {
         this.schemaContext =
-                YangParserTestUtils.parseYangSources(TestRestconfUtils.loadFiles("/restconf/parser/deserializer"));
+                YangParserTestUtils.parseYangFiles(TestRestconfUtils.loadFiles("/restconf/parser/deserializer"));
     }
 
     /**