public void testTextSymbolizer() throws Exception {
TextSymbolizer ts = sb.createTextSymbolizer(Color.BLACK, (Font) null, "label");
ts.getOptions().put(TextSymbolizer.MAX_DISPLACEMENT_KEY, "10");
ts.getOptions().put(TextSymbolizer.GRAPHIC_MARGIN_KEY, "10 20");
ts.accept(visitor);
TextSymbolizer clone = (TextSymbolizer) visitor.getCopy();
assertEquals("20", clone.getOptions().get(TextSymbolizer.MAX_DISPLACEMENT_KEY));
assertEquals("20 40", clone.getOptions().get(TextSymbolizer.GRAPHIC_MARGIN_KEY));
}