@Test
public void testAddSchedulingDates() {

  final Event event = EasyMock.mock(Event.class);
  EasyMock.expect(event.getRecordingStartDate()).andReturn("2018-05-16T13:22:23Z").anyTimes();
  EasyMock.expect(event.getRecordingEndDate()).andReturn("2018-05-16T17:12:13Z").anyTimes();
  EasyMock.replay(event);
  testAddSchedulingDates("scheduling1", event); // Change start and end time
  testAddSchedulingDates("scheduling2", event); // Change end time to be before start time
  testAddSchedulingDates("scheduling3", event); // Change weekday
  testAddSchedulingDates("scheduling4", event); // Change duration
  testAddSchedulingDates("scheduling5", event); // Change duration and end time
}