Created
March 12, 2018 09:20
-
-
Save rozkminiacz/c4b1c5e939c4aeeb84d36a2179e00f2d 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
val peopleList : List<Person> = listOf( | |
Person(id = "1", firstName = "Mark", surname = "Train"), | |
Person(id = "2", firstName = "George", secondName = "Edward", surname = "Bicycle") | |
) | |
val repository : Repository<Person> = mock{ | |
on { getAll() } doReturn Single.just(peopleList) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment