@Test public void fetchUsers_sucess() { mRepository.fetchUsers(2); verify(mApiEndPointHelper).fetchUsers(2); }
@Override public Single<UserResponse> fetchUsers(int page) { return this.endPointHelper.fetchUsers(page); }
HomeRepository implements HomeContract.Repository { @Override public Single<UserResponse> fetchUsers(int page) { return this.endPointHelper.fetchUsers(page); } }
HomeRepository implements HomeContract.Repository { @Override public Single<UserResponse> fetchUsers(int page) { return this.endPointHelper.fetchUsers(page); } @Inject  HomeRepository(EndPointHelper endPointHelper); }
HomeRepository implements HomeContract.Repository { @Override public Single<UserResponse> fetchUsers(int page) { return this.endPointHelper.fetchUsers(page); } @Inject  HomeRepository(EndPointHelper endPointHelper); @Override Single<UserResponse> fetchUsers(int page); }
HomeRepository implements HomeContract.Repository { @Override public Single<UserResponse> fetchUsers(int page) { return this.endPointHelper.fetchUsers(page); } @Inject  HomeRepository(EndPointHelper endPointHelper); @Override Single<UserResponse> fetchUsers(int page);  }