AndroidTestCase - Asynch calls
<p>I am writing unit tests (AndroidTestCase).  The application under test uses some background services to communicate over the web the get information.  </p>

<p>To receive notification of events I am interested in, (like when content has been delivered etc), I register a listener that exposes various methods.  In these listener interface methods, I assert certain things to help me validate i am getting appropriate responses.</p>

<p>My problem is that the test methods are finishing prior to the callback occurring and I do not know how to tell the method to "wait" for the callback to happen.</p>
