// Path: app/src/main/java/com/ragdroid/dahaka/util/BaseSchedulerProvider.java
// public interface BaseSchedulerProvider {
//     @NonNull
//     Scheduler computation();
// 
//     @NonNull
//     Scheduler io();
// 
//     @NonNull
//     Scheduler ui();
// }


import com.ragdroid.dahaka.util.BaseSchedulerProvider;
import org.mockito.Mockito;
import javax.inject.Singleton;
import dagger.Module;
import dagger.Provides;
import io.reactivex.android.schedulers.AndroidSchedulers;
import io.reactivex.schedulers.TestScheduler;
import static org.mockito.Mockito.when;
package com.ragdroid.dahaka.app;






/**
 * Created by garimajain on 28/08/17.
 */
@Module
public class MockAppModule {

    @Singleton
    @Provides
    static TestScheduler provideTestScheduler() {
        return new TestScheduler();
    }

    @Provides
    @Singleton
// Path: app/src/main/java/com/ragdroid/dahaka/util/BaseSchedulerProvider.java
// public interface BaseSchedulerProvider {
//     @NonNull
//     Scheduler computation();
// 
//     @NonNull
//     Scheduler io();
// 
//     @NonNull
//     Scheduler ui();
// }


// Path: app/src/androidTest/java/com/ragdroid/dahaka/app/MockAppModule.java
import com.ragdroid.dahaka.util.BaseSchedulerProvider;
import org.mockito.Mockito;
import javax.inject.Singleton;
import dagger.Module;
import dagger.Provides;
import io.reactivex.android.schedulers.AndroidSchedulers;
import io.reactivex.schedulers.TestScheduler;
import static org.mockito.Mockito.when;

package com.ragdroid.dahaka.app;






/**
 * Created by garimajain on 28/08/17.
 */
@Module
public class MockAppModule {

    @Singleton
    @Provides
    static TestScheduler provideTestScheduler() {
        return new TestScheduler();
    }

    @Provides
    @Singleton
    public static BaseSchedulerProvider provideBaseScheduler(TestScheduler testScheduler) {