Building unit tests for asp.net mvc2 async controller actions that return data -
i've had around , can't seem specific answer above question. example, thread:
building unit tests mvc2 asynccontrollers
talks waiting async actions finish, great, need able retrieve data returned completed method.
cheers, andrew.
one way make event handler:
controller.asyncmanager.finished += (sender, ev) => { var result = controller.transactioncompleted(); trigger.set(); }
Comments
Post a Comment