I'm try make the Unit Test from my app. My app include service integration. I'm implementing an Adapter for this task and I need wait the service response for process the response and then validate the response object.
I have 2 delegate function that are called when the service response arrive.
func didReceiveAPIResults(#results: AnyObject, path: String, serverTag: String)
func didReceiveAPIResultsFailed(#error: NSError, errorObject: AnyObject, path: String, serverTag: String)
I need process the response in the previous functions and then finish the Unit Test.
How I can specify this?
Aucun commentaire:
Enregistrer un commentaire