@Test
public void validatePeriodTest() {

    final JobSchedulerConfiguration jobSchedulerConfiguration = new JobSchedulerConfiguration();
    jobSchedulerConfiguration.setFixedDelay(1000L);
    jobSchedulerConfiguration.setInitialDelay(1000L);
    try {
        jobSchedulerConfiguration.validatePeriod();
    } catch (final SpringBatchLightminApplicationException e) {
        fail(e.getMessage());
    }
}