@Test
public void getSubWorkflowParams() {

    WorkflowTask workflowTask = new WorkflowTask();
    SubWorkflowParams subWorkflowParams = new SubWorkflowParams();
    subWorkflowParams.setName("Foo");
    subWorkflowParams.setVersion(2);
    workflowTask.setSubWorkflowParam(subWorkflowParams);
    assertEquals(subWorkflowParams, subWorkflowTaskMapper.getSubWorkflowParams(workflowTask));
}