public void testCreateDynamicExternalFormat() throws Exception {
feature.setAttribute("symb", "image/png");
URL url = StreamingRenderer.class.getResource("test-data/");
PointSymbolizer symb = sf.createPointSymbolizer();
ExternalGraphic eg = sf.createExternalGraphic(url + "${icon}", "${symb}");
symb.getGraphic().addExternalGraphic(eg);
GraphicStyle2D gs = (GraphicStyle2D) sld.createStyle(feature, symb, range);
// make sure the style has been recognized as dynamic
SymbolizerKey key = new SymbolizerKey(symb, range);