return array;
}
public void testParseWorkflowAction() {
JSONObject json = createJsonWorkflowAction();
WorkflowAction action = JsonToBean.createWorkflowAction(json);
assertEquals("a", action.getId());
assertEquals("b", action.getName());
assertEquals("c", action.getType());
assertEquals("d", action.getConf());
assertEquals(WorkflowAction.Status.RUNNING, action.getStatus());
assertEquals(1, action.getRetries());
assertEquals(JsonUtils.parseDateRfc822(START_TIME), action.getStartTime());
assertEquals(JsonUtils.parseDateRfc822(END_TIME), action.getEndTime());
assertEquals("e", action.getTransition());
assertEquals("ee", action.getData());
assertEquals("f", action.getExternalId());
assertEquals("g", action.getExternalStatus());
assertEquals("h", action.getTrackerUri());
assertEquals("i", action.getConsoleUrl());
assertEquals("j", action.getErrorCode());
assertEquals("k", action.getErrorMessage());
}