assertEquals(1, layers.size());
FeatureSource<?, ?> fs = layers.get(0).getFeatureSource();
assertNotNull(layers.get(0).getStyle());
final SimpleFeatureCollection features = (SimpleFeatureCollection) fs.getFeatures();
assertEquals(5, features.size());
Map<String, SimpleFeature> idToFeature = idToFeatureMap(features);
checkFeature(layerData, idToFeature.get("grid.x.1"), new Coordinate(120, 90), new Coordinate(120, 132), "120 m");
checkFeature(layerData, idToFeature.get("grid.x.2"), new Coordinate(130, 90), new Coordinate(130, 132), "130 m");
checkFeature(layerData, idToFeature.get("grid.x.3"), new Coordinate(140, 90), new Coordinate(140, 132), "140 m");