timeService.advanceTime( date.getTime(), TimeUnit.MILLISECONDS );
CronTrigger trigger = new CronTrigger(date.getTime(), null, null, -1, "15 * * * * ?", null, null);
HelloWorldJobContext ctx = new HelloWorldJobContext( "hello world", timeService);
timeService.scheduleJob( new HelloWorldJob(), ctx, trigger);
assertEquals( 0, ctx.getList().size() );
timeService.advanceTime( 10, TimeUnit.SECONDS );
assertEquals( 0, ctx.getList().size() );
timeService.advanceTime( 10, TimeUnit.SECONDS );
assertEquals( 1, ctx.getList().size() );
timeService.advanceTime( 30, TimeUnit.SECONDS );
assertEquals( 1, ctx.getList().size() );
timeService.advanceTime( 30, TimeUnit.SECONDS );
assertEquals( 2, ctx.getList().size() );
}