@Test public void toggleEditingStatusToDisableFalse() { collectionEditorPresenterSpy.toggleEditingStatus(false); verify(collectionViewMock, times(1)).enableEditingMode(eq(false)); verify(listElementPresenterMock, times(1)).toggleEditingStatus(eq(false)); verify(mapElementPresenterMock, times(1)).toggleEditingStatus(eq(false)); }
@Override public void toggleEditingStatus(boolean editingStatus) { collectionView.enableEditingMode(editingStatus); mapElementPresenter.toggleEditingStatus(editingStatus); listElementPresenter.toggleEditingStatus(editingStatus); }
CollectionPresenter implements CollectionView.Presenter { @Override public void toggleEditingStatus(boolean editingStatus) { collectionView.enableEditingMode(editingStatus); mapElementPresenter.toggleEditingStatus(editingStatus); listElementPresenter.toggleEditingStatus(editingStatus); } }
CollectionPresenter implements CollectionView.Presenter { @Override public void toggleEditingStatus(boolean editingStatus) { collectionView.enableEditingMode(editingStatus); mapElementPresenter.toggleEditingStatus(editingStatus); listElementPresenter.toggleEditingStatus(editingStatus); }  }
CollectionPresenter implements CollectionView.Presenter { @Override public void toggleEditingStatus(boolean editingStatus) { collectionView.enableEditingMode(editingStatus); mapElementPresenter.toggleEditingStatus(editingStatus); listElementPresenter.toggleEditingStatus(editingStatus); }  @Override void initListStructure(String key, Map<String, String> simplePropertiesMap, Map<String, Map<String, String>> expandablePropertiesMap, CollectionView collectionView); @Override void initMapStructure(String key, Map<String, String> keyPropertyMap, Map<String, String> valuePropertyMap, CollectionView collectionView); @Override void setValue(String jsonString); @Override void showEditingBox(); @Override void onToggleRowExpansion(boolean isShown); @Override void updateRowExpansionStatus(boolean isShown); @Override void addListItem(Map<String, String> simplePropertiesValues, Map<String, Map<String, String>> expandablePropertiesValues); @Override void addMapItem(Map<String, String> keyPropertiesValues, Map<String, String> valuePropertiesValues); @Override void save(); @Override void remove(); @Override void toggleEditingStatus(boolean editingStatus); }
CollectionPresenter implements CollectionView.Presenter { @Override public void toggleEditingStatus(boolean editingStatus) { collectionView.enableEditingMode(editingStatus); mapElementPresenter.toggleEditingStatus(editingStatus); listElementPresenter.toggleEditingStatus(editingStatus); }  @Override void initListStructure(String key, Map<String, String> simplePropertiesMap, Map<String, Map<String, String>> expandablePropertiesMap, CollectionView collectionView); @Override void initMapStructure(String key, Map<String, String> keyPropertyMap, Map<String, String> valuePropertyMap, CollectionView collectionView); @Override void setValue(String jsonString); @Override void showEditingBox(); @Override void onToggleRowExpansion(boolean isShown); @Override void updateRowExpansionStatus(boolean isShown); @Override void addListItem(Map<String, String> simplePropertiesValues, Map<String, Map<String, String>> expandablePropertiesValues); @Override void addMapItem(Map<String, String> keyPropertiesValues, Map<String, String> valuePropertiesValues); @Override void save(); @Override void remove(); @Override void toggleEditingStatus(boolean editingStatus);  }