use of com.kickstarter.services.MockWebClient in project android-oss by kickstarter.
the class KSRobolectricTestCase method setUp.
@Override
@Before
public void setUp() throws Exception {
super.setUp();
final MockTrackingClient testTrackingClient = new MockTrackingClient();
koalaTest = new TestSubscriber<>();
testTrackingClient.eventNames.subscribe(koalaTest);
environment = application().component().environment().toBuilder().apiClient(new MockApiClient()).currentConfig(new MockCurrentConfig()).webClient(new MockWebClient()).koala(new Koala(testTrackingClient)).build();
}
Aggregations