@Test
public void testTextGET() {

    Task task = new Task();
    Input input = new Input();
    input.setUri("http://localhost:7009/text");
    input.setMethod("GET");
    task.getInputData().put(HttpTask.REQUEST_PARAMETER_NAME, input);
    httpTask.start(workflow, task, workflowExecutor);
    Map<String, Object> hr = (Map<String, Object>) task.getOutputData().get("response");
    Object response = hr.get("body");
    assertEquals(Task.Status.COMPLETED, task.getStatus());
    assertEquals(TEXT_RESPONSE, response);
}