Jcache tests  Expiry 

I think it is better to use a similar approach as with the assertTrueEventually. You pass in a function that return a boolean, as long as false is returned, you keep repeating the function. As soon as true is returned, you exit the loop. This is imho more flexible and cleaner.