@Test
public void testGetNextStartTime() throws Exception {

    Date now = getDate("2012-04-03 02:45 UTC");
    Date start = getDate("2012-04-02 03:00 UTC");
    Date newStart = getDate("2012-04-03 03:00 UTC");
    Frequency frequency = new Frequency("hours(1)");
    Assert.assertEquals(newStart, EntityUtil.getNextStartTime(start,
            frequency, tz, now));
}