manualRequest.setBody(body); // set the request body to send to the server
manualRequest.clearAsynchronous(); // make this request synchronously so that the test is blocked
// set the canned response and start the server
server.setResponse(cannedResponse);
server.start();
// Send the request!
manualRequest.send();
assertTrue(manualRequest.getResponse().getBody().contains(body)); // check that the message in the body was read