public Configuration getConfiguration() {
        return configuration;
    }
@Test
    void testGetConfiguration() {
        EnvironmentSettings settings = new EnvironmentSettings.Builder().inBatchMode().build();
        Configuration configuration = settings.getConfiguration();

        assertThat(configuration.get(RUNTIME_MODE)).isEqualTo(RuntimeExecutionMode.BATCH);
    }