Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // userService object is mocked mock(UserService::class.java)
- Mockito.`when`(this.userService.getRepositories(Mockito.any())).thenReturn(Maybe.create {
- it.onSuccess(listOf())
- it.onComplete()
- })
Add Comment
Please, Sign In to add comment