long delay = timer.getDelayMillis();
Assert.assertTrue( "DELAY:"+delay, delay >= min );
Assert.assertTrue( "DELAY:"+delay, delay < (min+(spread*4)) );
}
DelayTimer t = new SimpleDelayTimer( 1000 );
Assert.assertTrue( 1000 == t.getDelayMillis() );
// default timers all have time zero
Assert.assertEquals( 0, new SimpleDelayTimer().getDelayMillis() );
Assert.assertEquals( 0, new RandomDelayTimer().getDelayMillis() );
Assert.assertEquals( 0, new GaussianRandomDelayTimer().getDelayMillis() );