title: Delay EasyMock verification
body: <p>I'm using EasyMock to create mock objects for JUnit testing in Java. I create a mock object and pass it to another thread where it expects methods to be called. In the other thread, the calls are enclosed in a <code>try/catch(Throwable)</code> block, so when an unexpected call occurs on the mock and it thus throws <code>AssertionError</code>, that error is caught by the catch block and treated. So, even though an unexpected call occurred, the test passes.</p>
  
  <p>In order to have the test fail as expected, I would like to delay all verification of calls to the <code>EasyMock.verify(mock)</code> call made in the test-runner thread at the end. Is this possible and how?</p>