public void testPrint_SpecAsFormPost() throws Exception {
ClientHttpRequest request = getPrintRequest("print.pdf", HttpMethod.POST);
setPrintSpec("spec=" + getPrintSpec("examples/verboseExample/old-api-requestData.json"), request);
response = request.execute();
assertEquals(response.getStatusText(), HttpStatus.OK, response.getStatusCode());
assertEquals(new MediaType("application", "pdf"), response.getHeaders().getContentType());
assertTrue(response.getBody().read() >= 0);
}