See if I can't figure out why I'm getting a NPE on the setup method...

This commit is contained in:
Bradlee Speice 2014-06-04 22:18:08 -04:00
parent 5a2eee49d5
commit 2e8974b745

View File

@ -44,7 +44,8 @@ public class DownloadActivityTest extends InstrumentationTestCase {
public void setUp() { public void setUp() {
MinimalBible application = MinimalBible.getApplication(); MinimalBible application = MinimalBible.getApplication();
ObjectGraph graph = application.getObjGraph(); ObjectGraph graph = application.getObjGraph();
graph.plus(DownloadActivityTestModule.class).inject(this); ObjectGraph plusGraph = graph.plus(DownloadActivityTestModule.class);
plusGraph.inject(this);
} }
public void testBasicAssertion() { public void testBasicAssertion() {