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