### Question:
HomeListPresenter implements HomeListContract.Presenter { @Override public void onDestroyActionMode() { isInActionMode = false; view.onExitActionMode(); } HomeListPresenter(TodoRepository todoRepository); @Override void init(); @Override void loadAllLists(); @Override void attachView(HomeListContract.View view); @Override void detachView(); @Override void onDestroy(); @Override void onCreateListItemClicked(); @Override void onFloatingActionButtonClicked(); @Override void onListItemClicked(TodoList list); @Override void onListItemLongClicked(TodoList list); @Override void onDestroyActionMode(); @Override void deleteSelectedItems(List<Long> itemIds);  }### Answer:
@Test public void shouldDoExitWorkWhenActionModeDestroyed() throws Exception { presenter.onDestroyActionMode(); verify(view).onExitActionMode(); }