Remove deprecated Yin/YangStatementSourceImpl
[yangtools.git] / yang / yang-data-codec-xml / src / test / java / org / opendaylight / yangtools / yang / data / codec / xml / Bug5396Test.java
index 938962e75e08324037c03cf7b1e7abfbcb70bbb1..75cf4b42eb3c26dc5c75620388c4a0e435ae17bc 100644 (file)
@@ -45,8 +45,7 @@ public class Bug5396Test {
     public void setUp() throws Exception {
         fooModuleQName = QNameModule.create(new URI("foo"), SimpleDateFormatUtil.getRevisionFormat().parse(
                     "2016-03-22"));
-
-        schemaContext = YangParserTestUtils.parseYangSource("/bug5396/yang/foo.yang");
+        schemaContext = YangParserTestUtils.parseYangResource("/bug5396/yang/foo.yang");
     }
 
     @Test