@Test
public void multiplePostJobCallbacks() {

  final Props jobProps = new Props();
  jobProps.put("job.notification."
          + JobCallbackStatusEnum.FAILURE.name().toLowerCase() + ".1.url",
      "http://www.linkedin.com");
  jobProps.put("job.notification."
          + JobCallbackStatusEnum.FAILURE.name().toLowerCase() + ".1.method",
      JobCallbackConstants.HTTP_POST);
  jobProps.put("job.notification."
          + JobCallbackStatusEnum.FAILURE.name().toLowerCase() + ".1.body",
      "doc:id");
  jobProps.put("job.notification."
          + JobCallbackStatusEnum.FAILURE.name().toLowerCase() + ".2.url",
      "http://www.linkedin2.com");
  jobProps.put("job.notification."
          + JobCallbackStatusEnum.FAILURE.name().toLowerCase() + ".2.method",
      JobCallbackConstants.HTTP_POST);
  jobProps.put("job.notification."
          + JobCallbackStatusEnum.FAILURE.name().toLowerCase() + ".2.body",
      "doc2:id");
  final Set<String> errors = new HashSet<>();
  Assert.assertEquals(2, JobCallbackValidator.validate("bogusJob",
      this.serverProps, jobProps, errors));
  Assert.assertEquals(0, errors.size());
}