This project shows how to use a closure based expectation to wait for an asynchronous condition to be fulfilled in XCTest.