diff --git a/MinimalBible/src/test/java/org/bspeice/minimalbible/test/DownloadActivityTest.java b/MinimalBible/src/test/java/org/bspeice/minimalbible/test/DownloadActivityTest.java index 1052da8..76c4e05 100644 --- a/MinimalBible/src/test/java/org/bspeice/minimalbible/test/DownloadActivityTest.java +++ b/MinimalBible/src/test/java/org/bspeice/minimalbible/test/DownloadActivityTest.java @@ -44,7 +44,8 @@ public class DownloadActivityTest extends InstrumentationTestCase { public void setUp() { MinimalBible application = MinimalBible.getApplication(); ObjectGraph graph = application.getObjGraph(); - graph.plus(DownloadActivityTestModule.class).inject(this); + ObjectGraph plusGraph = graph.plus(DownloadActivityTestModule.class); + plusGraph.inject(this); } public void testBasicAssertion() {