@BuildStep
    @Record(ExecutionTime.RUNTIME_INIT)
    void findRecurringJobAnnotationsAndScheduleThem(RecorderContext recorderContext, CombinedIndexBuildItem index, BeanContainerBuildItem beanContainer, JobRunrRecurringJobRecorder recorder, JobRunrBuildTimeConfiguration jobRunrBuildTimeConfiguration) throws NoSuchMethodException {
        if (jobRunrBuildTimeConfiguration.jobScheduler().enabled()) {
            new RecurringJobsFinder(recorderContext, index, beanContainer, recorder).findRecurringJobsAndScheduleThem();
        }
    }
@Test
    void producesNoJobRunrRecurringJobsFinderIfJobSchedulerIsNotEnabled() throws NoSuchMethodException {
        RecorderContext recorderContext = mock(RecorderContext.class);
        CombinedIndexBuildItem combinedIndex = mock(CombinedIndexBuildItem.class);
        BeanContainerBuildItem beanContainer = mock(BeanContainerBuildItem.class);
        JobRunrRecurringJobRecorder recurringJobRecorder = mock(JobRunrRecurringJobRecorder.class);

        when(jobSchedulerConfiguration.enabled()).thenReturn(false);

        jobRunrExtensionProcessor.findRecurringJobAnnotationsAndScheduleThem(recorderContext, combinedIndex, beanContainer, recurringJobRecorder, jobRunrBuildTimeConfiguration);

        verifyNoInteractions(recorderContext);
    }