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).
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).