static public void assertCondition(final Runnable cond){
  assertCondition(cond,5,TimeUnit.SECONDS);
}

static public void assertCondition ( final Runnable cond ) { assertCondition ( cond , 5 , TimeUnit . SECONDS ) ; }
waits up to 5 seconds for the condition to succeed .
