I have some method:
repository.get(arg1, arg2, arg3)
Method return Single<List<SomeObject>>
I need testing that Single was called onSubscribe()
with specific arguments.
repository.get(arg1, arg2, arg3)
.test()
.assertSubscribed()
This method ignores arguments which I put in method repository.get()
.
How I can test that subscribe called with certain arguments?
Aucun commentaire:
Enregistrer un commentaire