assertEquals(testText.toString(), s);
}
public void testStates() throws Exception {
File shapeFile = TestData.file(this, "featureTypes/states.shp");
ShapefileDataStore ds = new ShapefileDataStore(shapeFile.toURL());
final FeatureSource<SimpleFeatureType, SimpleFeature> fs = ds.getFeatureSource("states");
final ReferencedEnvelope env = new ReferencedEnvelope(fs.getBounds(), WGS84);
final WMSMapContext map = new WMSMapContext();
map.setAreaOfInterest(env);
map.setMapWidth(mapWidth);