AbstractAppCenterService implements AppCenterService { @Override public void onActivityCreated(Activity activity, Bundle savedInstanceState) { }  @Override void onActivityCreated(Activity activity, Bundle savedInstanceState); @Override void onActivityStarted(Activity activity); @Override void onActivityResumed(Activity activity); @Override void onActivityPaused(Activity activity); @Override void onActivityStopped(Activity activity); @Override void onActivitySaveInstanceState(Activity activity, Bundle outState); @Override void onActivityDestroyed(Activity activity); @Override void onApplicationEnterForeground(); @Override void onApplicationEnterBackground(); @Override synchronized boolean isInstanceEnabled(); @WorkerThread @Override synchronized void setInstanceEnabled(boolean enabled); @Override boolean isAppSecretRequired(); @Override final synchronized void onStarting(@NonNull AppCenterHandler handler); @WorkerThread @Override synchronized void onStarted(@NonNull Context context, @NonNull Channel channel, String appSecret, String transmissionTargetToken, boolean startedFromApp); @Override void onConfigurationUpdated(String appSecret, String transmissionTargetToken); @Override Map<String, LogFactory> getLogFactories();  }
@Test public void onActivityCreated() { mService.onActivityCreated(null, null); }