@Test
@Parameters(method = "styxTriggerToFlyteExecMode")
public void testStyxTriggerTranslateToFlyteExecutionMode(Trigger styxTrigger, ExecutionMode flyteExecMode)
    throws FlyteRunner.CreateExecutionException {

  final RunState runState = runState(styxTrigger);
  flyteRunner.createExecution(runState, "test-create-execution", FLYTE_EXEC_CONF, ANNOTATIONS);
  verify(flyteAdminClient).createExecution(any(), any(), any(), any(), Mockito.eq(flyteExecMode),
      any(), any());
}