@Test
public void testStopListener() {

    final LightminClientApplication lightminClientApplication = ServiceTestHelper.createLightminClientApplication();
    when(this.registrationBean.findById(APPLICATION_INSTANCE_ID)).thenReturn(lightminClientApplication);
    try {
        this.jobSchedulerFeService.stopScheduler(JC_ID, APPLICATION_INSTANCE_ID);
        verify(this.adminServerService, times(1)).stopJobConfigurationScheduler(JC_ID, lightminClientApplication);
    } catch (final Exception e) {
        fail(e.getMessage());
    }
}