Remove deprecated Yin/YangStatementSourceImpl
[yangtools.git] / yang / yang-data-impl / src / test / java / org / opendaylight / yangtools / yang / data / impl / schema / transform / dom / serializer / DomSerializerTestUtils.java
index ad46a7891d7587aeef3dc45bac0c712765fb55d4..2c4c46e5704b329507ae778656d73af47630ce79 100644 (file)
@@ -49,7 +49,7 @@ public class DomSerializerTestUtils {
 
     public static SchemaContext getSchemaContext() throws ReactorException, IOException, YangSyntaxErrorException,
             URISyntaxException {
-        final SchemaContext schemaContext = YangParserTestUtils.parseYangSource("/dom-serializer-test/serializer-test.yang");
+        final SchemaContext schemaContext = YangParserTestUtils.parseYangResource("/dom-serializer-test/serializer-test.yang");
 
         assertNotNull("Schema context must not be null.", schemaContext);
         return schemaContext;