@Test
public void validateCronTest() {

    final JobSchedulerConfiguration jobSchedulerConfiguration = new JobSchedulerConfiguration();
    jobSchedulerConfiguration.setCronExpression("0 0 12 * * ?");
    try {
        jobSchedulerConfiguration.validateCron();
    } catch (final SpringBatchLightminApplicationException e) {
        fail(e.getMessage());
    }
}