Assertion util for asynchronous testing