public GlobalJobParameters getGlobalJobParameters() {
        return configuration
                .getOptional(PipelineOptions.GLOBAL_JOB_PARAMETERS)
                .map(MapBasedJobParameters::new)
                .orElse(new MapBasedJobParameters(Collections.emptyMap()));
    }
@Test
    void testGlobalParametersNotNull() {
        final ExecutionConfig config = new ExecutionConfig();

        assertThat(config.getGlobalJobParameters()).isNotNull();
    }