@Test
public void testGetMapJobConfigurationModel() {

    final LightminClientApplication lightminClientApplication = ServiceTestHelper.createLightminClientApplication();
    when(this.registrationBean.findById(APPLICATION_INSTANCE_ID)).thenReturn(lightminClientApplication);
    final Map<String, JobConfigurations> jobConfigurationsMap = new HashMap<>();
    ApiTestHelper.addJobConfigurations(jobConfigurationsMap,
            APPLICATION_INSTANCE_ID,
            ApiTestHelper.createJobSchedulerConfigurations(5));
    when(this.adminServerService.getJobConfigurationsMap(lightminClientApplication)).thenReturn(jobConfigurationsMap);
    final MapJobSchedulerConfigurationModel result =
            this.jobSchedulerFeService.getMapJobConfigurationModel(APPLICATION_INSTANCE_ID);
    BDDAssertions.then(result).isNotNull();
    BDDAssertions.then(result.getJobConfigurations()).isNotNull();
    BDDAssertions.then(result.getJobConfigurations().size()).isEqualTo(1);
}