ObjectMapper objectMapper = new ObjectMapper();
ObjectNode objectNode = objectMapper.createObjectNode();
objectNode.put("test", "hello");
objectNode.put("test2", 1);
Representation response = client.post(objectNode);
JsonNode responseNode = objectMapper.readTree(response.getStream());
assertNotNull(responseNode);
assertTrue(responseNode.get("success").getBooleanValue());
Task task = taskService.createTaskQuery().taskAssignee("kermit").singleResult();