@Test
public void shouldGetExceptionIfFirstInstantIsNotAlignedWithScheduleReversed() {

  final Instant firstTimeHours = parse("2016-01-19T09:10:00.00Z");
  final Instant lastTimeHours = parse("2016-01-19T08:00:00.00Z");
  expect.expect(IllegalArgumentException.class);
  expect.expectMessage("unaligned instant");
  instantsInReversedRange(firstTimeHours, lastTimeHours, Schedule.HOURS);
}