Want to write integration tests for the elasticSearch service:
1. Index
2. Search
3. Check the result
Each Java api method runs asynchronously. How can I do this as a simple sync api: call api.a , waiting for a result, calling api.b , waiting for a result ...
source share