PropertyPresenter implements PropertyView.Presenter { @Override public LIElement getEditingPropertyFields(String itemId, String propertyName, String propertyValue) { LIElement toReturn = getPropertyFields(itemId, propertyName, propertyValue); editProperties(itemId); return toReturn; }  @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 getEditingPropertyFields() { assertNotNull(propertyEditorPresenter.getEditingPropertyFields(ITEM_ID, TEST_PROPERTYNAME, TEST_PROPERTYVALUE)); verify(propertyEditorPresenter, times(1)).getPropertyFields(eq(ITEM_ID), eq(TEST_PROPERTYNAME), eq(TEST_PROPERTYVALUE)); verify(propertyEditorPresenter, times(1)).editProperties(eq(ITEM_ID)); }