// Path: 2016-06-15_hot_and_cold/app/src/main/java/com/gdgand/rxjava/rxjavasample/hotandcold/di/module/DataModule.java
// @Module
// public class DataModule {
// 
// 	@Provides
// 	@Singleton
// 	public Converter.Factory converterFactory() {
// 		return GsonConverterFactory.create();
// 	}
// 
// 
// 	@Provides
// 	@Singleton
// 	public CallAdapter.Factory callAdapterFactory() {
// 		return RxJavaCallAdapterFactory.create();
// 	}
// 
// 	@Provides
// 	@Singleton
// 	public OkHttpClient okHttpClient() {
// 		HttpLoggingInterceptor interceptor = new HttpLoggingInterceptor();
// 		interceptor.setLevel(HttpLoggingInterceptor.Level.BODY);
// 
// 		return new OkHttpClient.Builder()
// 			.addInterceptor(interceptor)
// 			.build();
// 	}
// 
// 	@Provides
// 	@Singleton
// 	public Retrofit retrofit(OkHttpClient client, CallAdapter.Factory callAdapterFactory, Converter.Factory converterFactory) {
// 		return new Retrofit.Builder()
// 			.baseUrl("https://api.imgur.com")
// 			.client(client)
// 			.addCallAdapterFactory(callAdapterFactory)
// 			.addConverterFactory(converterFactory)
// 			.build();
// 	}
// 
// 	@Provides
// 	@Singleton
// 	public ImgurApi imgurApi(Retrofit retrofit) {
// 		return retrofit.create(ImgurApi.class);
// 	}
// }


import com.annimon.stream.Stream;
import com.gdgand.rxjava.rxjavasample.hotandcold.data.DaggerTestDataComponent;
import com.gdgand.rxjava.rxjavasample.hotandcold.di.module.DataModule;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import rx.observers.TestSubscriber;
import java.util.Iterator;
import java.util.List;
import javax.inject.Inject;
import static org.assertj.core.api.Assertions.assertThat;
package com.gdgand.rxjava.rxjavasample.hotandcold.data.imgur;







@Ignore("Ignore e2e test by default")
public class ImgurApiTest {

	@Inject
	ImgurApi imgurApi;

	@Before
	public void setup() {
		DaggerTestDataComponent.builder()
// Path: 2016-06-15_hot_and_cold/app/src/main/java/com/gdgand/rxjava/rxjavasample/hotandcold/di/module/DataModule.java
// @Module
// public class DataModule {
// 
// 	@Provides
// 	@Singleton
// 	public Converter.Factory converterFactory() {
// 		return GsonConverterFactory.create();
// 	}
// 
// 
// 	@Provides
// 	@Singleton
// 	public CallAdapter.Factory callAdapterFactory() {
// 		return RxJavaCallAdapterFactory.create();
// 	}
// 
// 	@Provides
// 	@Singleton
// 	public OkHttpClient okHttpClient() {
// 		HttpLoggingInterceptor interceptor = new HttpLoggingInterceptor();
// 		interceptor.setLevel(HttpLoggingInterceptor.Level.BODY);
// 
// 		return new OkHttpClient.Builder()
// 			.addInterceptor(interceptor)
// 			.build();
// 	}
// 
// 	@Provides
// 	@Singleton
// 	public Retrofit retrofit(OkHttpClient client, CallAdapter.Factory callAdapterFactory, Converter.Factory converterFactory) {
// 		return new Retrofit.Builder()
// 			.baseUrl("https://api.imgur.com")
// 			.client(client)
// 			.addCallAdapterFactory(callAdapterFactory)
// 			.addConverterFactory(converterFactory)
// 			.build();
// 	}
// 
// 	@Provides
// 	@Singleton
// 	public ImgurApi imgurApi(Retrofit retrofit) {
// 		return retrofit.create(ImgurApi.class);
// 	}
// }


// Path: 2016-06-15_hot_and_cold/app/src/test/java/com/gdgand/rxjava/rxjavasample/hotandcold/data/imgur/ImgurApiTest.java
import com.annimon.stream.Stream;
import com.gdgand.rxjava.rxjavasample.hotandcold.data.DaggerTestDataComponent;
import com.gdgand.rxjava.rxjavasample.hotandcold.di.module.DataModule;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import rx.observers.TestSubscriber;
import java.util.Iterator;
import java.util.List;
import javax.inject.Inject;
import static org.assertj.core.api.Assertions.assertThat;

package com.gdgand.rxjava.rxjavasample.hotandcold.data.imgur;







@Ignore("Ignore e2e test by default")
public class ImgurApiTest {

	@Inject
	ImgurApi imgurApi;

	@Before
	public void setup() {
		DaggerTestDataComponent.builder()
			.dataModule(new DataModule())