PropertyPresenter implements PropertyView.Presenter { @Override public Map<String, String> getSimpleProperties(String itemId) { Map<String, String> toReturn = new HashMap<>(); propertyViewMap.get(itemId) .forEach(propertyEditorView -> { String propertyName = propertyEditorView.getPropertyName().getInnerText(); propertyName = propertyName.substring(propertyName.lastIndexOf("#") + 1); toReturn.put(propertyName, propertyEditorView.getPropertyValueSpan().getInnerText()); }); 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 getProperties() { assertNotNull(propertyEditorPresenter.getSimpleProperties(ITEM_ID)); }