@Produces
    @DefaultBean
    @Singleton
    public JobRequestScheduler jobRequestScheduler(StorageProvider storageProvider) {
        if (jobRunrBuildTimeConfiguration.jobScheduler().enabled()) {
            return new JobRequestScheduler(storageProvider, emptyList());
        }
        return null;
    }
@Test
    void jobRequestSchedulerIsNotSetupWhenConfigured() {
        when(jobSchedulerBuildTimeConfiguration.enabled()).thenReturn(false);

        assertThat(jobRunrProducer.jobRequestScheduler(storageProvider)).isNull();
    }