+ private void setSchemaControllerContext(final SchemaContext schema) {
+ final ControllerContext context = ControllerContext.getInstance();
+ context.setSchemas(schema);
+ restconfImpl.setControllerContext(context);
+ }
+
+// @Test
+// public void postRpcNoPayload() throws Exception {
+// setSchemaControllerContext(schemaContextTestModule);
+// final String uri = "/operations/test-module:no-payload-rpc-test";
+// final String mediaType = MediaType.APPLICATION_XML;
+// final Response response = target(uri).request(mediaType).post(Entity.entity("", mediaType));
+// assertNotNull(response);
+//
+// }
+