@Test
public void testLaunchJob() {

    final String jobName = "testJob";
    final String applicationInstanceId = "testApp";
    final LightminClientApplication applicationInstance = new LightminClientApplication();
    when(this.registrationBean.findById(applicationInstanceId)).thenReturn(applicationInstance);
    try {
        final JobLauncherModel jobLauncherModel = new JobLauncherModel();
        jobLauncherModel.setApplicationInstanceId(applicationInstanceId);
        jobLauncherModel.setJobName(jobName);
        jobLauncherModel.setJobParameters("test(String)=hello,longValue(long)=1");
        jobLauncherModel.setJobIncrementer("DATE");
        this.jobLauncherFeService.launchJob(jobLauncherModel);
    } catch (final Exception e) {
        fail(e.getMessage());
    }
}