@Test
public void roundDownTest()
{

  CustomTimeBucket customTimeBucket = new CustomTimeBucket("5m");
  long expected = 5 * 60 * 1000;
  long val = expected + 300;
  Assert.assertEquals(expected, customTimeBucket.roundDown(val));
}