void startup(@Observes StartupEvent event) {
        if (jobRunrBuildTimeConfiguration.backgroundJobServer().enabled()) {
            backgroundJobServerInstance.get().start();
        }
        if (jobRunrBuildTimeConfiguration.dashboard().enabled()) {
            dashboardWebServerInstance.get().start();
        }
    }
@Test
    void jobRunrStarterStartsBackgroundJobServerIfConfigured() {
        when(backgroundJobServerConfiguration.enabled()).thenReturn(true);

        jobRunrStarter.startup(new StartupEvent());

        verify(backgroundJobServer).start();
    }