title: How to wait for a async void method to complete its task?
body: <p>In JAVA, we have the Awaitility class in which we can wait for a boolean returning method to return true or false. How can we do this for a void method inJAVA?</p>