@Test
public void testThrowsCreateExecutionExceptionForUnknownException() {

  doThrow(new IllegalStateException("test"))
      .when(flyteAdminClient).createExecution(any(), any(), any(), any(), any(), any(), any());
  assertThrows(
      FlyteRunner.CreateExecutionException.class,
      () -> flyteRunner.createExecution(RUN_STATE, "exec", FLYTE_EXEC_CONF, ANNOTATIONS));
}