I have a method that calls the API internally. This method does not have a completion handler.
-(void) methodToBeTested{
[self callAPIWithCompletionHandler:^(NSArray *data,NSError *error)
{
}];
}
Now I need to test the methodToBeTested method for models installed after calling the API.
Any suggestions?
source
share