Daggers { public static void openAppScope(final Object appComponent) { Daggers.appComponent = appComponent; } private  Daggers(); static void clear(); static void closeActivityScope(); static void configure(Application appComponent); static void inject(final Object target); static void injectAppDependencies(final Object target); static void openActivityScope(final Object activityModule); static void openAppScope(final Object appComponent);  }
@Test public void testOpenAppScope() throws Exception { assertEquals(mockedAppComponent, Daggers.appComponent); }