Pregunta de entrevista de Gen

How should unit tests be written for asynchronous code?