    @Test
    public void testInit() throws Exception {

        ConsecutiveDaysAccumulateFunction f = new ConsecutiveDaysAccumulateFunction();
        ConsecutiveDaysAccumulateFunction.ConsecutiveDaysBuckets buckets = new ConsecutiveDaysAccumulateFunction.ConsecutiveDaysBuckets();
        f.init(buckets);
        Assert.assertNotNull(buckets.buckets);
        Assert.assertEquals(0, buckets.buckets.size());
    }