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

    final JobSchedulerConfiguration jobSchedulerConfiguration = new JobSchedulerConfiguration();
    jobSchedulerConfiguration.setFixedDelay(-1000L);
    jobSchedulerConfiguration.validateCron();
}