@Test
public void testRerun() {

    RerunWorkflowRequest request = new RerunWorkflowRequest();
    workflowResource.rerun("test", request);
    verify(mockWorkflowService, times(1)).rerunWorkflow(anyString(), any(RerunWorkflowRequest.class));
}