GetUserList extends UseCase { @Override protected Observable buildUseCaseObservable() { return userRepository.user(); } @Inject  GetUserList(UserRepository userRepository,ThreadExecutor threadExecutor,
					PostExecutionThread postExecutionThread);   }
@Test public void testGetUserListUseCaseObservableHappyCase() { getUserList.buildUseCaseObservable(); verify(mockUserRepository).user(); verify(mockUserRepository,never()).user(1); verifyNoMoreInteractions(mockUserRepository); verifyZeroInteractions(mockThreadExecutor); verifyZeroInteractions(mockExecutionThread); }