Is there any way of sleeping / waiting for an async job/callback in a unit test?
I'm trying to write tests for my audio provider sync delegate, and even though I intend to do some mocking of backends and downloads, i would also like to be able to have some tests that test the actual downloads, and for that I need to make the unit test wait until I get a callback from makeWebRequest.
Usually you shouldn't sleep or pause in Monkey C obivously, but this is a different beast, and I need to stop the unit test method from returning until I can produce a test result.