@Produces
    @DefaultBean
    @Singleton
    JobRunrDashboardWebServerConfiguration dashboardWebServerConfiguration() {
        if (jobRunrBuildTimeConfiguration.dashboard().enabled()) {
            final JobRunrDashboardWebServerConfiguration dashboardWebServerConfiguration = usingStandardDashboardConfiguration();
            jobRunrRuntimeConfiguration.dashboard().port().ifPresent(dashboardWebServerConfiguration::andPort);
            if (jobRunrRuntimeConfiguration.dashboard().username().isPresent() && jobRunrRuntimeConfiguration.dashboard().password().isPresent()) {
                dashboardWebServerConfiguration.andBasicAuthentication(jobRunrRuntimeConfiguration.dashboard().username().get(), jobRunrRuntimeConfiguration.dashboard().password().get());
            }
            dashboardWebServerConfiguration.andAllowAnonymousDataUsage(jobRunrRuntimeConfiguration.miscellaneous().allowAnonymousDataUsage());
            return dashboardWebServerConfiguration;
        }
        return null;
    }
@Test
    void dashboardWebServerConfigurationIsNotSetupWhenNotConfigured() {
        when(dashboardBuildTimeConfiguration.enabled()).thenReturn(false);

        assertThat(jobRunrProducer.dashboardWebServerConfiguration()).isNull();
    }