### Question:
AppSettingsFragment extends PresenterFragment<AppSettingsView> implements
        AppSettingsView.Listener { @Override public final void onViewCreated(final View view, final Bundle savedInstanceState) { super.onViewCreated(view, savedInstanceState); bindAndSubscribe(this.hasVoiceInteractor.hasVoice, this.presenterView::showVoiceEnabledRows, e -> this.presenterView.showVoiceEnabledRows(false)); this.presenterView.setDebugText(getString(R.string.app_version_fmt, getString(R.string.app_name), BuildConfig.VERSION_NAME)); this.presenterView.enableDebug(BuildConfig.DEBUG_SCREEN_ENABLED); this.hasVoiceInteractor.update(); }  static AppSettingsFragment newInstance(); @Override final void initializePresenterView(); @Override final void setUserVisibleHint(final boolean isVisibleToUser); @Override void onCreate(final Bundle savedInstanceState); @Override final void onViewCreated(final View view, final Bundle savedInstanceState); @Override void onItemClicked(final int position);  }### Answer:
@Test public void onViewCreatedTest() { spyOnHasVoiceInteractor(); callOnViewCreated(); Mockito.verify(fragment).bindAndSubscribe(Mockito.eq(fragment.hasVoiceInteractor.hasVoice), Mockito.anyObject(), Mockito.anyObject()); }