@Test
public void multipleStatusesWithJobCallbackTest() {

  Props props = new Props();
  props.put("job.notification."
      + JobCallbackStatusEnum.STARTED.name().toLowerCase() + ".1.url", "def");
  Assert.assertTrue(JobCallbackUtil.isThereJobCallbackProperty(props,
      JobCallbackStatusEnum.STARTED, JobCallbackStatusEnum.COMPLETED,
      JobCallbackStatusEnum.FAILURE, JobCallbackStatusEnum.SUCCESS));
  props = new Props();
  props.put("job.notification."
          + JobCallbackStatusEnum.COMPLETED.name().toLowerCase() + ".1.url",
      "def");
  Assert.assertTrue(JobCallbackUtil.isThereJobCallbackProperty(props,
      JobCallbackStatusEnum.STARTED, JobCallbackStatusEnum.COMPLETED,
      JobCallbackStatusEnum.FAILURE, JobCallbackStatusEnum.SUCCESS));
  props = new Props();
  props.put("job.notification."
      + JobCallbackStatusEnum.FAILURE.name().toLowerCase() + ".1.url", "def");
  Assert.assertTrue(JobCallbackUtil.isThereJobCallbackProperty(props,
      JobCallbackStatusEnum.STARTED, JobCallbackStatusEnum.COMPLETED,
      JobCallbackStatusEnum.FAILURE, JobCallbackStatusEnum.SUCCESS));
  props = new Props();
  props.put("job.notification."
      + JobCallbackStatusEnum.SUCCESS.name().toLowerCase() + ".1.url", "def");
  Assert.assertTrue(JobCallbackUtil.isThereJobCallbackProperty(props,
      JobCallbackStatusEnum.STARTED, JobCallbackStatusEnum.COMPLETED,
      JobCallbackStatusEnum.FAILURE, JobCallbackStatusEnum.SUCCESS));
}