+ "}}");
HttpRequest httpRequest = new HttpRequest(Uri.parse("http://www.example.org/somecontent"));
httpRequest.setMethod("GET");
RpcHandler operation = registry.getRpcHandler(request);
try {
operation.execute(emptyFormItems, token, converter).get();
fail("Body should not be allowed in GET request");
} catch (ExecutionException ee) {
assertTrue(ee.getCause() instanceof ProtocolException);
}
}