### Question:
AppSettingsFragment extends PresenterFragment<AppSettingsView> implements
        AppSettingsView.Listener { @Override public final void initializePresenterView() { if (this.presenterView == null) { this.presenterView = new AppSettingsView(getActivity()); this.presenterView.setListener(this); } }  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 initializePresenterViewTest() { fragment.presenterView = null; fragment.initializePresenterView(); assertNotNull(fragment.presenterView); }