Replace calls of StmtTestUtils.parseYangSource(String) two
[yangtools.git] / parser / yang-parser-rfc7950 / src / test / java / org / opendaylight / yangtools / yang / stmt / YT1312Test.java
index 5141ef95c04af44d9829ffd90ea02412f32f9462..3ffc092e837fe31adc0cd4ceab0c54cdf4b363c8 100644 (file)
@@ -19,10 +19,10 @@ import org.opendaylight.yangtools.yang.model.api.stmt.GroupingEffectiveStatement
 import org.opendaylight.yangtools.yang.model.api.stmt.LeafListEffectiveStatement;
 import org.opendaylight.yangtools.yang.model.api.stmt.ModuleEffectiveStatement;
 
-public class YT1312Test {
+public class YT1312Test extends AbstractYangTest {
     @Test
-    public void testRefineDefault() throws Exception {
-        final ModuleEffectiveStatement module = StmtTestUtils.parseYangSource("/bugs/YT1312/foo.yang")
+    public void testRefineDefault() {
+        final ModuleEffectiveStatement module = assertEffectiveModel("/bugs/YT1312/foo.yang")
             .getModuleStatement(QNameModule.create(XMLNamespace.of("foo")));
 
         final LeafListEffectiveStatement grpFoo = module