There is no need to catch the InterruptedException. Just add is to the throws class of this method, will keep your test cleaner.