@Test
public void testStartWorkflow() {

    StartWorkflowRequest startWorkflowRequest = new StartWorkflowRequest();
    startWorkflowRequest.setName("w123");
    Map<String, Object> input = new HashMap<>();
    input.put("1", "abc");
    startWorkflowRequest.setInput(input);
    String workflowID = "w112";
    when(mockWorkflowService.startWorkflow(any(StartWorkflowRequest.class))).thenReturn(workflowID);
    assertEquals("w112", workflowResource.startWorkflow(startWorkflowRequest));
}