package com.mateuszkoslacz.moviper.rxsample.utils.di;

import com.mateuszkoslacz.moviper.rxsample.data.rdp.specification.list.retrofit.impl.AllUsersRetrofitSpecification;
import com.mateuszkoslacz.moviper.rxsample.viper.entity.User;

import java.util.List;

import retrofit2.Retrofit;
import rx.Observable;

public class AllUsersRetrofitTestSpecification extends AllUsersRetrofitSpecification {

    @Override
    public Observable<List<User>> getResults(Retrofit retrofit) {
        User user1 = new User();
        user1.setName("user1");
        User user2 = new User();
        user2.setName("user2");
        User user3 = new User();
        user3.setName("user3");
        User user4 = new User();
        user4.setName("user4");
        User user5 = new User();
        user5.setName("user5");

        return Observable.just(java.util.Arrays.asList(user1, user2, user3, user4, user5));
    }
}

@@ -301,23 +301,16 @@
 vable;%0A%0A
-public 
 class Al
@@ -508,28 +508,29 @@
    user1.set
-Name
+Login
 (%22user1%22);%0A 
@@ -574,28 +574,29 @@
    user2.set
-Name
+Login
 (%22user2%22);%0A 
@@ -640,28 +640,29 @@
    user3.set
-Name
+Login
 (%22user3%22);%0A 
@@ -706,28 +706,29 @@
    user4.set
-Name
+Login
 (%22user4%22);%0A 
@@ -780,12 +780,13 @@
 .set
-Name
+Login
 (%22us

fix AllUsersSpecification dummy data