MapContext context = new MapContext();
context.addLayer(coverage, style);
StreamingRenderer renderer = new StreamingRenderer();
renderer.setContext(context);
RenderListener listener = new RenderListener() {
public void featureRenderer(SimpleFeature feature) {}
public void errorOccurred(Exception e) {
e.printStackTrace();
fail("Failed to render coverage");