Ios swift – How can I mock the Alamofire Extension on UIImageView?
Alamofire has an extension on UIImageView that makes loading an image very easy. But, for unit testing my code, I would like to mock the result of the response, so that I can test success and failure. How can I…