@Test(expected = SpringBatchLightminApplicationException.class)
public void validateCronExpressionFixedDelaySetTest() {

    final JobSchedulerConfiguration jobSchedulerConfiguration = new JobSchedulerConfiguration();
    jobSchedulerConfiguration.setCronExpression("0 0 12 * * ?");
    jobSchedulerConfiguration.setFixedDelay(1000L);
    jobSchedulerConfiguration.validateCron();
}