NoopFlyteRunner implements FlyteRunner { @Override public String createExecution(RunState runState, String name, FlyteExecConf flyteExecConf, Map<String, String> annotations) throws CreateExecutionException { throw new CreateExecutionException("Cannot create execution for: " + flyteExecConf); }  @Override boolean isEnabled(); @Override String createExecution(RunState runState, String name, FlyteExecConf flyteExecConf,
                                Map<String, String> annotations); @Override void terminateExecution(RunState runState, FlyteExecutionId flyteExecutionId); @Override void poll(final FlyteExecutionId flyteExecutionId, final RunState runState); @Override void close();  }
@Test public void testCreateExecutionThrowsException() { assertThrows( FlyteRunner.CreateExecutionException.class, () -> runner.createExecution(runState, "name", TestData.FLYTE_EXEC_CONF, Map.of()) ); }