public WorkflowInstanceActionResponse stop(
      String workflowId, long workflowInstanceId, long workflowRunId, User caller) {
    return terminate(
        workflowId, workflowInstanceId, workflowRunId, Actions.WorkflowInstanceAction.STOP, caller);
  }
@Test
  public void testInvalidExecutionId() {
    when(instance.getExecutionId()).thenReturn(null);
    when(instance.getStatus()).thenReturn(WorkflowInstance.Status.IN_PROGRESS);
    AssertHelper.assertThrows(
        "execution_id cannot be null",
        NullPointerException.class,
        "execution_id cannot be null",
        () -> actionHandler.stop("test-workflow", 1, 1, user));
  }