@ManagedAttribute(description = "check if the job executor is activated")
    public boolean isJobExecutorActivated() {
        return jobExecutor != null && jobExecutor.isActive();
    }
@Test
    public void TestIsJobExecutorActivatedFalse() {
        when(jobExecutor.isActive()).thenReturn(false);

        boolean result = jobExecutorMbean.isJobExecutorActivated();
        verify(jobExecutor).isActive();
        assertThat(result).isFalse();

    }