@Test
public void testFindById() {

    final LightminClientApplication lightminClientApplication = ServiceTestHelper.createLightminClientApplication();
    when(this.registrationBean.findById(APPLICATION_ID)).thenReturn(lightminClientApplication);
    when(this.jobServerService.getJobInfo(anyString(), any())).thenReturn(ApiTestHelper.createJobInfo("test_job", 2));
    final List<BatchJobInfoModel> result = this.jobFeService.findById(APPLICATION_ID);
    BDDAssertions.then(result).isNotNull();
    BDDAssertions.then(result.size()).isEqualTo(2);
}