Created
August 21, 2019 09:25
-
-
Save vincent-paing/4226f42f34e09721c8f3b3050e7e9953 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
if (imageLoader is FakeImageLoader) { | |
val fakeImageLoader = imageLoader as FakeImageLoader | |
val requestSet = fakeImageLoader.requestSet | |
val request = requestSet.elementAt(index) | |
val url = request.data as String | |
Assert.assertEquals(movie.posterPath, url) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment