BaseFragment extends Fragment implements View { @Override public void showLoading() { activityCallback.showProgressBar(); }  @Override void onStop(); @Override void onAttach(Activity activity); @Override void showLoading(); @Override void hideLoading();  }
@Test public void testShowLoadingState() throws Exception { baseFragment.showLoading(); verify(activity).showProgressBar(); }