Evgeniy Petrenko

Results 4 comments of Evgeniy Petrenko

@quanturium @Bukoow Let me share a solution which I usually use in such case. For example, we have a screen with list of articles. To fetch articles we have an...

@devendroid as I understood, NPE appeared because `buildUseCaseObservable(params)` method returned `null`. Can you try the following to match types of the parameters in `execute()` method declaration: ```Kotlin verify(setAddressUseCase)?.execute( any(DisposableObserver.class), any(Params.class))...

@devendroid it happened because `countSurveyUseCase` is defined as `lateinit var` and initialized manually instead of using `@Mock` annotation. `verify()` method accepts only `@Mock` annotated parameters.

@devendroid try to do the following instead of defining generic type: ```Kotlin execute(any(DisposableObserver.class), any(Void.class)) ```