Daggers { public static void injectAppDependencies(final Object target) { inject(appComponent, target); } 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 testInjectAppDependencies() throws Exception { final Target target = new Target(); Daggers.injectAppDependencies(target); verify(mockedAppComponent).inject(target); }