@Test
public void testAddMultipleEventsEmptyRange() throws Exception {

  final RRule rrule = new RRule("FREQ=WEEKLY;BYDAY=WE;BYHOUR=7;BYMINUTE=0");
  final Date start = new Date(1546844400000L); // 2019-01-07T07:00:00Z
  final Date end = start;
  final Long duration = 6900000L;
  final TimeZone tz = TimeZone.getTimeZone("America/Los_Angeles");
  final String captureAgentId = "Device A";
  final Set<String> userIds = Collections.emptySet();
  final String id = "Recording1";
  final String seriesId = "TestSeries";
  final MediaPackage mpTemplate = generateEvent(Opt.some(id));
  mpTemplate.setSeries(seriesId);
  final DublinCoreCatalog dublinCoreCatalog = generateEvent(captureAgentId, Opt.some(mpTemplate.getIdentifier().toString()), Opt.some("Test Title"), start, end);
  addDublinCore(Opt.some(mpTemplate.getIdentifier().toString()), mpTemplate, dublinCoreCatalog);
  final Map<String, String> wfProperties = this.wfProperties;
  final Map<String, String> caProperties = Collections.singletonMap("foo", "bar");
  final Opt<String> schedulingSource = Opt.none();
  final Map<String, Period> scheduled = schedSvc.addMultipleEvents(
      rrule,
      start,
      end,
      duration,
      tz,
      captureAgentId,
      userIds,
      mpTemplate,
      wfProperties,
      caProperties,
      schedulingSource
  );
  assertTrue(scheduled.isEmpty());
}