### Question:
MapManager extends AbstractMongoManager { public MapPojo getMapById(String id) { return dataMap.get(id); } MapManager(); static MapManager getInstance(); void reload(); MapPojo getMapById(String id); Collection<MapPojo> getMaps(); BseMap toBseMap();  }### Answer:
@Test public void testGetMapById() { MapPojo pojo = MapManager.getInstance().getMapById("0"); assertNotNull(pojo); List<Layer> layers = pojo.getLayers(); Layer layer = layers.get(0); assertTrue(layer.width == pojo.getScrollAreaWidth()); assertTrue(layer.height>0); }