@Test
public void testEndLessThanStart() {

  final long time = 123987564019283L;
  final TemporalBinningStrategy binStrategy = new TemporalBinningStrategy(Unit.YEAR);
  final BinRange[] ranges = binStrategy.getNormalizedRanges(new NumericRange(time, time - 1));
  Assert.assertEquals(0, ranges.length);
}