public static void increaseTime(Clock clock){
  Calendar c=Calendar.getInstance();
  c.setTime(clock.getCurrentTime());
  c.add(Calendar.SECOND,1);
  clock.setCurrentTime(c.getTime());
}

public static void increaseTime ( Clock clock ) { Calendar c = Calendar . getInstance ( ) ; c . setTime ( clock . getCurrentTime ( ) ) ; c . add ( Calendar . SECOND , 1 ) ; clock . setCurrentTime ( c . getTime ( ) ) ; }
increase clockutils time simulation operates in milliseconds . sometime could happen ( especially during automated tests ) that 2 recorded events have the same time . in that case it is not possible to recognize order .
