@Test
public void testStartAndEndEqual() {

  final long time = 123987564019283L;
  final TemporalBinningStrategy binStrategy = new TemporalBinningStrategy(Unit.YEAR);
  final BinRange[] ranges = binStrategy.getNormalizedRanges(new NumericRange(time, time));
  Assert.assertEquals(1, ranges.length);
  // both the min and max of the range should be equal
  Assert.assertTrue(ranges[0].getNormalizedMin() == ranges[0].getNormalizedMax());
}