@Test
public void testPostNoContent() {

    Task task = new Task();
    Input input = new Input();
    input.setUri("http://localhost:7009/post2");
    Map<String, Object> body = new HashMap<>();
    body.put("input_key1", "value1");
    body.put("input_key2", 45.3d);
    input.setBody(body);
    input.setMethod("POST");
    task.getInputData().put(HttpTask.REQUEST_PARAMETER_NAME, input);
    httpTask.start(workflow, task, workflowExecutor);
    assertEquals(task.getReasonForIncompletion(), Task.Status.COMPLETED, task.getStatus());
    Map<String, Object> hr = (Map<String, Object>) task.getOutputData().get("response");
    Object response = hr.get("body");
    assertEquals(Task.Status.COMPLETED, task.getStatus());
    assertNull("response is: " + response, response);
}