Eliminate schemaContextLoader()
[netconf.git] / restconf / restconf-nb / src / test / java / org / opendaylight / restconf / nb / rfc8040 / jersey / providers / patch / JsonPatchBodyReaderMountPointTest.java
index eefc57eaef69062a5adbb89fa68c6ea763ba5cad..7b00f2c78e0ae32a7efbc6c9becf5ba434d60a3d 100644 (file)
@@ -13,22 +13,18 @@ import static org.junit.Assert.assertThrows;
 
 import java.io.InputStream;
 import javax.ws.rs.core.MediaType;
-import org.junit.BeforeClass;
 import org.junit.Test;
 import org.opendaylight.restconf.common.errors.RestconfDocumentedException;
 import org.opendaylight.restconf.nb.rfc8040.jersey.providers.test.AbstractBodyReaderTest;
 import org.opendaylight.restconf.nb.rfc8040.jersey.providers.test.JsonBodyReaderTest;
 import org.opendaylight.yangtools.yang.common.ErrorTag;
-import org.opendaylight.yangtools.yang.model.api.EffectiveModelContext;
 
 public class JsonPatchBodyReaderMountPointTest extends AbstractBodyReaderTest {
     private static final String MOUNT_POINT = "instance-identifier-module:cont/yang-ext:mount/";
-    private static EffectiveModelContext schemaContext;
 
     private final JsonPatchBodyReader jsonToPatchBodyReader;
 
     public JsonPatchBodyReaderMountPointTest() {
-        super(schemaContext);
         jsonToPatchBodyReader = new JsonPatchBodyReader(databindProvider, mountPointService);
     }
 
@@ -37,11 +33,6 @@ public class JsonPatchBodyReaderMountPointTest extends AbstractBodyReaderTest {
         return new MediaType(APPLICATION_JSON, null);
     }
 
-    @BeforeClass
-    public static void initialization() {
-        schemaContext = schemaContextLoader("/instanceidentifier/yang", schemaContext);
-    }
-
     @Test
     public void modulePatchDataTest() throws Exception {
         final String uri = MOUNT_POINT + "instance-identifier-patch-module:patch-cont/my-list1=leaf1";