@Override
    protected CompletableFuture<ConfigurationInfo> handleRequest(
            @Nonnull HandlerRequest<EmptyRequestBody> request, @Nonnull RestfulGateway gateway)
            throws RestHandlerException {
        return CompletableFuture.completedFuture(jobConfig);
    }
@Test
    void testRequestConfiguration() throws Exception {
        final Configuration configuration = new Configuration();
        configuration.set(JobManagerOptions.ADDRESS, "address");

        final JobManagerJobConfigurationHandler handler =
                new JobManagerJobConfigurationHandler(
                        () -> null,
                        TestingUtils.TIMEOUT,
                        Collections.emptyMap(),
                        JobManagerJobConfigurationHeaders.getInstance(),
                        configuration);

        final ConfigurationInfo configurationInfo =
                handler.handleRequest(
                                HandlerRequest.resolveParametersAndCreate(
                                        EmptyRequestBody.getInstance(),
                                        new JobMessageParameters(),
                                        Collections.emptyMap(),
                                        Collections.emptyMap(),
                                        Collections.emptyList()),
                                new TestingRestfulGateway.Builder().build())
                        .get();

        assertThat(configurationInfo.get(0).getKey()).isEqualTo(JobManagerOptions.ADDRESS.key());
        assertThat(configurationInfo.get(0).getValue()).isEqualTo("address");
    }