Created
July 18, 2017 04:37
-
-
Save oznus/dd80a478c0070cb551a29ee9d9f52881 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
public class MyAppNetworkServiceMock extends MyAppNetworkService { | |
@Override | |
public List<Object> getUsers() { | |
List<Object> objects = new ArrayList<>(); | |
//Mocking | |
//..................... | |
objects.add(new Object()); | |
objects.add(new Object()); | |
//More Mocking | |
//..................... | |
objects.add(new Object()); | |
//..................... | |
//..................... | |
return objects; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment