First I mock an object. Then I do something that should make the object's certain method be called. The call is asynchronous.
So what I'd like to verify is: in at most 5 seconds, this method of the mock object should be called.
Any idea?
Aucun commentaire:
Enregistrer un commentaire