### Question:
PushService extends Service { @Override public void onCreate() { super.onCreate(); if (ParsePlugins.get() == null) { PLog.e(TAG, "The Parse push service cannot start because Parse.initialize " + "has not yet been called. If you call Parse.initialize from " + "an Activity's onCreate, that call should instead be in the " + "Application.onCreate. Be sure your Application class is registered " + "in your AndroidManifest.xml with the android:name property of your " + "<application> tag."); stopSelf(); return; } executor = Executors.newSingleThreadExecutor(); handler = PushServiceUtils.createPushHandler(); dispatchOnServiceCreated(this); } PushService(); @Override void onCreate(); @Override int onStartCommand(final Intent intent, int flags, final int startId); @Override IBinder onBind(Intent intent); @Override void onDestroy();  }### Answer:
@Test public void testOnCreate() { controller.create(); verify(callbacks, times(1)).onServiceCreated(service); }