MapIdField { public void put(String mapId, Object value) { mappedObjects.put(mapId, value); } MapIdField(); void put(String mapId, Object value); void remove(String mapId); Object get(String mapId); boolean containsMapId(String mapId);  }
@Test public void testPut() { mapIdField.put("aMapId", "aMapIdValue"); assertEquals("aMapIdValue", mapIdField.get("aMapId")); }