Gen interview question

How should unit tests be written for asynchronous code?