Assert.assertEquals("toolbar", toolbar.getId());
Assert.assertEquals(4, toolbar.getTools().size());
List<ClientLayerInfo> layers = mapInfo.getLayers();
Assert.assertEquals(1, layers.size());
ClientLayerInfo layer = layers.get(0);
Assert.assertEquals(CLIENT_LAYER_ID, layer.getId());
Assert.assertEquals(LAYER_ID, layer.getServerLayerId());
Assert.assertEquals("Test beans", layer.getLabel());
Assert.assertTrue(layer.getLayerInfo() instanceof VectorLayerInfo);
VectorLayerInfo vectorLayerInfo = ((VectorLayerInfo)layer.getLayerInfo());
Assert.assertEquals("EPSG:4326", vectorLayerInfo.getCrs());
Assert.assertNotNull(vectorLayerInfo.getFeatureInfo());
FeatureInfo featureInfo = vectorLayerInfo.getFeatureInfo();
List<AttributeInfo> attributes = featureInfo.getAttributes();
Assert.assertNotNull(attributes);