Search in sources :

Example 6 with TestModule

use of com.tevinjeffrey.rutgersct.TestModule in project Rutgers-Course-Tracker by tevjef.

the class ChooserPresenterImplTest method setUp.

@Before
public void setUp() throws Exception {
    ObjectGraph og = ObjectGraph.create(new TestModule(), new MockModule());
    og.inject(this);
    chooserPresenterImpl = new ChooserPresenterImpl();
    og.inject(chooserPresenterImpl);
}
Also used : ObjectGraph(dagger.ObjectGraph) TestModule(com.tevinjeffrey.rutgersct.TestModule) Before(org.junit.Before)

Aggregations

TestModule (com.tevinjeffrey.rutgersct.TestModule)6 ObjectGraph (dagger.ObjectGraph)6 Before (org.junit.Before)6