@Test
public void testSeasonal() throws Exception {

    final TemporalResolution daily = TemporalResolution.seasonal;
    final Date startDate = TimeUtil.parseShortUtcFormat("2012-01-01");
    //execution 1
    final Date endDate = TimeUtil.parseShortUtcFormat("2012-09-30");
    final List<RegriddingTimeStep> results = regriddingAggregator.aggregate(startDate, endDate, daily);
    //verification 1
    assertEquals("3 seasons, will give 3 coarser files", 3, results.size());
    assertEquals("2012-01-01", df.format(results.get(0).getStartDate()));
    assertEquals("2012-04-01", df.format(results.get(0).getEndDate()));
    assertEquals("2012-04-01", df.format(results.get(1).getStartDate()));
    assertEquals("2012-07-01", df.format(results.get(1).getEndDate()));
    assertEquals("2012-07-01", df.format(results.get(2).getStartDate()));
    assertEquals("2012-10-01", df.format(results.get(2).getEndDate()));
}