timer.addDurationTimer( new DurationTimer( 70 ) );
timer.setTimer( new IntervalTimer(null, null, 6, 40, 25) );
Date timestamp = new Date();
Trigger trigger = timer.createTrigger( timestamp.getTime(), null, null );
// ignores the first interval timer at 65
assertEquals( new Date( timestamp.getTime() + 70 ), trigger.hasNextFireTime() );
assertEquals( new Date( timestamp.getTime() + 90 ), trigger.nextFireTime() );
assertEquals( new Date( timestamp.getTime() + 115 ), trigger.nextFireTime() );
assertEquals( new Date( timestamp.getTime() + 140 ), trigger.nextFireTime() );
assertNull( trigger.nextFireTime() );
assertNull( trigger.hasNextFireTime() );
}