map.put("keyA", "valueA");
map.put("keyB", "valueB");
TestModel model = new TestModel();
model.setId("test");
model.setMap(map);
ConnectorInformation id = getTestConnectorInformation();
EDBObject object = converter.convertModelToEDBObject(model, id).get(0);
assertThat(object.getString(EDBConverter.getEntryNameForMapKey("map", 0)), is("keyA"));
assertThat(object.getString(EDBConverter.getEntryNameForMapValue("map", 0)), is("valueA"));
assertThat(object.getString(EDBConverter.getEntryNameForMapKey("map", 1)), is("keyB"));