Further cleanup of tests
[yangtools.git] / parser / yang-parser-rfc7950 / src / test / java / org / opendaylight / yangtools / yang / stmt / Bug5059Test.java
index a931e1b61ecc35d0b91b3721ef4c1793c66f929a..aa82f7bd95ce2d04d9df43ec895e7687cdf8d199 100644 (file)
@@ -7,15 +7,11 @@
  */
 package org.opendaylight.yangtools.yang.stmt;
 
-import static org.junit.Assert.assertNotNull;
-
 import org.junit.Test;
-import org.opendaylight.yangtools.yang.model.api.SchemaContext;
 
-public class Bug5059Test {
+public class Bug5059Test extends AbstractYangTest {
     @Test
-    public void test() throws Exception {
-        SchemaContext context = StmtTestUtils.parseYangSources("/bugs/bug5059");
-        assertNotNull(context);
+    public void test() {
+        assertEffectiveModelDir("/bugs/bug5059");
     }
 }