read

Sometimes you need to wait before some async operations (maybe some EventBus or RXJava Observables) end before check something with tests, now Espresso can handle the idling resources but JUnit not. Using assertj-android but you use to handle async operations and tests will fail because of sync.

Example:

Any suggestions?

Resources