}
@Test(groups=Global.FUNCTIONAL)
public static void testMax() {
ExponentialInterval interval=new ExponentialInterval(1000);
System.out.println("interval=" + interval);
Assert.assertEquals(1000, interval.next());
System.out.println("interval=" + interval);
Assert.assertEquals(2000, interval.next());
System.out.println("interval=" + interval);
Assert.assertEquals(4000, interval.next());
System.out.println("interval=" + interval);
Assert.assertEquals(8000, interval.next());
System.out.println("interval=" + interval);
Assert.assertEquals(15000, interval.next());
System.out.println("interval=" + interval);
Assert.assertEquals(15000, interval.next());
System.out.println("interval=" + interval);
}