RepoInfoFragment extends BaseFragment implements RepoInfoView { @Override public void onSaveInstanceState(Bundle outState) { super.onSaveInstanceState(outState); presenter.onSaveInstanceState(outState); }  static RepoInfoFragment newInstance(Repository repository); @Override void onCreate(@Nullable Bundle savedInstanceState); @Nullable @Override View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState); @Override void onSaveInstanceState(Bundle outState); @Override void showError(String error); @Override void showContributors(List<Contributor> contributors); @Override void showBranches(List<Branch> branches);  }
@Test public void testOnSaveInstanceState() { repoInfoFragment.onSaveInstanceState(null); verify(repoInfoPresenter).onSaveInstanceState(null); }
@Test public void testOnSaveInstanceStateWithBundle() { repoInfoFragment.onSaveInstanceState(bundle); verify(repoInfoPresenter).onSaveInstanceState(bundle); }