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