use of com.jakdor.labday.common.localdb.LocalDbHandler in project LabDayApp by jakdor.
the class ProjectRepositoryIntegrationTest method setUp.
@Before
public void setUp() throws Exception {
targetContext = ApplicationProvider.getApplicationContext();
testContext = InstrumentationRegistry.getInstrumentation().getContext();
SoLoader.init(targetContext, false);
localDbHandler = new LocalDbHandler(Instrumentation.newApplication(TestApp.class, targetContext));
projectRepository = new ProjectRepository(new NetworkManager(new RetrofitBuilder()), localDbHandler, new RxSchedulersFacade());
}
Aggregations