PropertyPresenter implements PropertyView.Presenter { @Override public Map<String, String> updateProperties(String itemId) { return stopEdit(itemId, true); }  @Override String getPropertyValue(String propertyName); @Override void editProperties(String itemId); @Override void stopEditProperties(String itemId); @Override Map<String, String> updateProperties(String itemId); @Override Map<String, String> getSimpleProperties(String itemId); @Override LIElement getPropertyFields(String itemId, String propertyName, String propertyValue); @Override LIElement getEditingPropertyFields(String itemId, String propertyName, String propertyValue); @Override void onToggleRowExpansion(String itemId, boolean isShown); @Override void deleteProperties(String itemId);  }
@Test public void updateProperties() { assertNotNull(propertyEditorPresenter.updateProperties(ITEM_ID)); verify(propertyEditorPresenter, times(1)).stopEdit(eq(ITEM_ID), eq(true)); }