GetUsers extends UseCase1<List<UserDto>, UserRepository> { @Inject public GetUsers(UserRepository repository, Messenger messenger, @Named("Thread") Scheduler threadScheduler, @Named("PostExecution") Scheduler postExecutionScheduler) { super(repository, messenger, threadScheduler, postExecutionScheduler); } @Inject  GetUsers(UserRepository repository,
                    Messenger messenger,
                    @Named("Thread") Scheduler threadScheduler,
                    @Named("PostExecution") Scheduler postExecutionScheduler);   }
@Test @Override public void testBuildUseCaseObservable() { testBuildUseCaseObservable(null, new Action0() { @Override public void call() { verify(mockRepository).getUsers(mockMessenger); } }); }