Gen Interview Question

How should unit tests be written for asynchronous code?