@Test public void remove() { elementPresenter.remove(); elementViewListLocal.forEach(elementViewMock -> { verify(elementPresenter, times(1)).onDeleteItem(eq(elementViewMock)); }); }
@Override public void remove() { List<E> newList = new ArrayList<>(elementViewList); newList.forEach(this::onDeleteItem); }
ElementPresenter implements ElementView.Presenter<E> { @Override public void remove() { List<E> newList = new ArrayList<>(elementViewList); newList.forEach(this::onDeleteItem); } }
ElementPresenter implements ElementView.Presenter<E> { @Override public void remove() { List<E> newList = new ArrayList<>(elementViewList); newList.forEach(this::onDeleteItem); }  }
ElementPresenter implements ElementView.Presenter<E> { @Override public void remove() { List<E> newList = new ArrayList<>(elementViewList); newList.forEach(this::onDeleteItem); }  @Override void setCollectionEditorPresenter(CollectionView.Presenter collectionEditorPresenter); @Override void onToggleRowExpansion(boolean isShown); @Override void updateCommonToggleStatus(boolean isShown); @Override void remove(); @Override void toggleEditingStatus(boolean toDisable); }
ElementPresenter implements ElementView.Presenter<E> { @Override public void remove() { List<E> newList = new ArrayList<>(elementViewList); newList.forEach(this::onDeleteItem); }  @Override void setCollectionEditorPresenter(CollectionView.Presenter collectionEditorPresenter); @Override void onToggleRowExpansion(boolean isShown); @Override void updateCommonToggleStatus(boolean isShown); @Override void remove(); @Override void toggleEditingStatus(boolean toDisable);  }