use of com.tevinjeffrey.rutgersct.TestModule in project Rutgers-Course-Tracker by tevjef.
the class CoursePresenterImplTest method setUp.
@Before
public void setUp() throws Exception {
ObjectGraph og = ObjectGraph.create(new TestModule(), new MockModule());
og.inject(this);
coursePresenterImpl = new CoursePresenterImpl(TestConts.getPrimarySemesterRequest());
og.inject(coursePresenterImpl);
}
use of com.tevinjeffrey.rutgersct.TestModule in project Rutgers-Course-Tracker by tevjef.
the class SubjectPresenterImplTest method setUp.
@Before
public void setUp() throws Exception {
ObjectGraph og = ObjectGraph.create(new TestModule(), new MockModule());
og.inject(this);
subjectPresenterImpl = new SubjectPresenterImpl(TestConts.getPrimarySemesterRequest());
og.inject(subjectPresenterImpl);
}
use of com.tevinjeffrey.rutgersct.TestModule in project Rutgers-Course-Tracker by tevjef.
the class TrackedSectionsPresenterImplTest method setUp.
@Before
public void setUp() throws Exception {
ObjectGraph og = ObjectGraph.create(new TestModule(), new MockModule());
og.inject(this);
trackedSectionsPresenterImpl = new TrackedSectionsPresenterImpl();
og.inject(trackedSectionsPresenterImpl);
}
use of com.tevinjeffrey.rutgersct.TestModule in project Rutgers-Course-Tracker by tevjef.
the class SectionInfoPresenterImplTest method setUp.
@Before
public void setUp() throws Exception {
ObjectGraph og = ObjectGraph.create(new TestModule(), new MockModule());
og.inject(this);
sectioninfoPresenterImpl = new SectionInfoPresenterImpl(section);
og.inject(sectioninfoPresenterImpl);
}
use of com.tevinjeffrey.rutgersct.TestModule in project Rutgers-Course-Tracker by tevjef.
the class RetroRutgersTest method setUp.
@Before
public void setUp() throws Exception {
ObjectGraph og = ObjectGraph.create(new TestModule());
og.inject(this);
retroRutgers = new RetroRutgers(rutgersService, backgroundThread);
}
Aggregations