Eliminate SchemaResourcesDTO
[netconf.git] / plugins / netconf-client-mdsal / src / test / java / org / opendaylight / netconf / client / mdsal / AbstractBaseSchemasTest.java
index c67c344d7561c55bf97ca35cb9f5452b7948df97..85484243b460b58e9cc5f2d09d128541649e561d 100644 (file)
@@ -7,23 +7,11 @@
  */
 package org.opendaylight.netconf.client.mdsal;
 
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
 import org.opendaylight.netconf.client.mdsal.api.BaseNetconfSchemaProvider;
 import org.opendaylight.netconf.client.mdsal.impl.DefaultBaseNetconfSchemaProvider;
-import org.opendaylight.yangtools.yang.parser.api.YangParserException;
 import org.opendaylight.yangtools.yang.parser.impl.DefaultYangParserFactory;
 
 public abstract class AbstractBaseSchemasTest {
-    protected static BaseNetconfSchemaProvider BASE_SCHEMAS;
-
-    @BeforeClass
-    public static void initBaseSchemas() throws YangParserException {
-        BASE_SCHEMAS = new DefaultBaseNetconfSchemaProvider(new DefaultYangParserFactory());
-    }
-
-    @AfterClass
-    public static void freeBaseSchemas() {
-        BASE_SCHEMAS = null;
-    }
+    protected static final BaseNetconfSchemaProvider BASE_SCHEMAS =
+        new DefaultBaseNetconfSchemaProvider(new DefaultYangParserFactory());
 }