@Override public void setUp() throws Exception { super.setUp(); App.setComponent( DaggerTestComponent.builder().testModule(new TestModule(new ArrayList<Pass>())).build()); getActivity(); }
public BaseTest() { testComponent = DaggerTestComponent.builder().testModule(new TestModule()).build(); testComponent.inject(this); }