Further cleanup of tests
[yangtools.git] / parser / yang-parser-rfc7950 / src / test / java / org / opendaylight / yangtools / yang / stmt / Bug5899Test.java
index a9bf847bdd03a6981393163b3f3af035d13cd9e9..b5522b2e4f6eecd3d0266da81bb9fd58dbbf378a 100644 (file)
@@ -5,19 +5,13 @@
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
  * and is available at http://www.eclipse.org/legal/epl-v10.html
  */
-
 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 Bug5899Test {
 
+public class Bug5899Test extends AbstractYangTest {
     @Test
-    public void testBug5899() throws Exception {
-        final SchemaContext schemaContext = StmtTestUtils.parseYangSources("/bugs/bug5899");
-        assertNotNull(schemaContext);
+    public void testBug5899() {
+        assertEffectiveModelDir("/bugs/bug5899");
     }
 }
\ No newline at end of file