I have a case where the unit of code I\'m testing is running on a different thread and so the test executes and fails before the unit has finished executing: