Eliminate SchemaResourcesDTO
[netconf.git] / plugins / netconf-client-mdsal / src / test / java / org / opendaylight / netconf / client / mdsal / AbstractTestModelTest.java
index c61f76b7dd1bf2ea9179f6b2112738199ebc4fd2..87f843e2079f980aa437c3fe723f56938a8037e8 100644 (file)
@@ -7,21 +7,11 @@
  */
 package org.opendaylight.netconf.client.mdsal;
 
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
+import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.yangtools.yang.model.api.EffectiveModelContext;
 import org.opendaylight.yangtools.yang.test.util.YangParserTestUtils;
 
 public abstract class AbstractTestModelTest extends AbstractBaseSchemasTest {
-    protected static EffectiveModelContext SCHEMA_CONTEXT;
-
-    @BeforeClass
-    public static final void setupSchemaContext() {
-        SCHEMA_CONTEXT = YangParserTestUtils.parseYangResource("/schemas/test-module.yang");
-    }
-
-    @AfterClass
-    public static final void tearDownSchemaContext() {
-        SCHEMA_CONTEXT = null;
-    }
+    protected static final @NonNull EffectiveModelContext SCHEMA_CONTEXT =
+        YangParserTestUtils.parseYangResource("/schemas/test-module.yang");
 }