Created
November 13, 2017 03:19
-
-
Save koromiko/62522e79c2c73cd2c4b92edf96d47e56 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MockApiService: APIServiceProtocol { | |
var isFetchPopularPhotoCalled = false | |
func fetchPopularPhoto(complete: @escaping (Bool, [Photo], APIError?) -> ()) { | |
isFetchPopularPhotoCalled = true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment