How do you test methods that fire asynchronous processes with JUnit?

I don’t know how to make my test wait for the process to end (it is not exactly a unit test, it is more like an integration test as it involves several classes and not just one).

18 Answers
18

Leave a Reply

Your email address will not be published. Required fields are marked *