MainPresenterImpl extends SaveStatePresenter<MainView> implements MainPresenter { @Override public void onDestroy() { } @Inject  MainPresenterImpl(@NonNull UserRepository userRepository); @Override void onCreate(Bundle savedInstanceState); @Override void getUser(); @Override void onDestroy();  }
@Test public void testOnDestroy() throws Exception { presenter.onDestroy(); verifyZeroInteractions(view); }