@Test(expected = SpringBatchLightminConfigurationException.class)
public void scheduleUnknownTest() {

    final String beanName = "schedulerBean";
    when(this.applicationContext.containsBean(beanName)).thenReturn(Boolean.FALSE);
    this.schedulerService.schedule(beanName, Boolean.FALSE);
}