Remove deprecated Yin/YangStatementSourceImpl
[yangtools.git] / yang / yang-data-impl / src / test / java / org / opendaylight / yangtools / yang / data / impl / schema / transform / dom / parser / DomToNormalizedNodeParserFactoryTest.java
index 0891f9b43df56c5d3e37cdf652112b3f448a66d4..4e6387d5f28bb18f46a757af3f14f7e54feb7bb1 100644 (file)
@@ -30,7 +30,7 @@ public class DomToNormalizedNodeParserFactoryTest {
 
     @Test
     public void testFactoryInstantiation() throws ReactorException, FileNotFoundException, URISyntaxException {
-        SchemaContext schemaContext = YangParserTestUtils.parseYangSource("/foo.yang");
+        SchemaContext schemaContext = YangParserTestUtils.parseYangResource("/foo.yang");
 
         DomToNormalizedNodeParserFactory factory = DomToNormalizedNodeParserFactory.getInstance(
                 DomUtils.defaultValueCodecProvider(), schemaContext,