GetUserList extends UseCase { @Override public Observable buildUseCaseObservable() { return this.userRepository.users(); } GetUserList(Context appContext);  GetUserList(UserRepository userRepository); void setUserRepository(UserRepository userRepository); @Override Observable buildUseCaseObservable();  }
@Test public void testGetUserListUseCaseObservableHappyCase() { getUserList.buildUseCaseObservable(); verify(mockUserRepository).users(); verifyNoMoreInteractions(mockUserRepository); verifyZeroInteractions(mockThreadExecutor); verifyZeroInteractions(mockPostExecutionThread); }