Feature implements Comparable<Feature> { public void setPropertiesRelations( List<Map<String, String>> propertiesRelations) { if(propertiesRelations != null){ for(Map<String, String> property : propertiesRelations){ this.propertiesRelations.add(property); } } } Feature(Geometry geometry,Map<String,String> properties);  Feature(); List<Map<String, String>> getPropertiesRelations(); void setPropertiesRelations(
			List<Map<String, String>> propertiesRelations); void setProperties(Map<String, String> properties); Map<String, String> getProperties(); String getId(); void setId(String id); String getType(); Geometry getGeometry(); void setGeometry(Geometry geometry); void updateProperties(final List<Map<String,String>> newInheritedProperties); List<Map<String, String>> getAllProperties(); boolean searchProperty(String property); String getValueRelationProperties(String property); @Override String toString(); int compareTo(Feature f);  }
@Test public void setPropertiesRelations(){ Map<String,String> property = new HashMap<String,String>(); property.put("property", "value"); List<Map<String, String>> propertiesRelations = new ArrayList<Map<String, String>>(); propertiesRelations.add(property); feature.setPropertiesRelations(propertiesRelations); Assert.assertEquals("Must be the same Property", propertiesRelations.get(0), feature.getPropertiesRelations().get(0)); }