@Test
public void testTerminateExecution() {

  flyteRunner.terminateExecution(RUN_STATE, FLYTE_EXECUTION_ID);
  verify(flyteAdminClient).terminateExecution(
      eq(FLYTE_EXECUTION_ID.project()),
      eq(FLYTE_EXECUTION_ID.domain()),
      eq(FLYTE_EXECUTION_ID.name()),
      contains(TERMINATE_CAUSE_PREFIX));
}