@Test(expected = SchedulerException.class)
public void testConflictCreation() throws Exception {

  long currentTime = System.currentTimeMillis();
  MediaPackage mediaPackage = generateEvent(Opt.some("1"));
  schedSvc.addEvent(new Date(currentTime + 10 * 1000), new Date(currentTime + (60 * 60 * 1000)), "Device A",
          Collections.<String> emptySet(), mediaPackage, wfProperties, Collections.<String, String> emptyMap(),
          Opt.<String> none());
  schedSvc.addEvent(new Date(currentTime + (20 * 24 * 60 * 60 * 1000)),
          new Date(currentTime + (20 * 25 * 60 * 60 * 1000)), "Device A", Collections.<String> emptySet(),
          mediaPackage, wfProperties, Collections.<String, String> emptyMap(), Opt.<String> none());
}