TextSymbolizer ps = (TextSymbolizer) collector.symbolizers.get(1);
assertEquals(ff.property("name"), ps.getLabel());
assertEquals(Color.BLACK, ps.getFill().getColor().evaluate(null, Color.class));
// font
Font font = ps.getFont();
assertEquals("Arial", font.getFamily().get(0).evaluate(null, String.class));
assertEquals(12, (int) font.getSize().evaluate(null, Integer.class));
assertEquals(Font.Style.NORMAL, font.getStyle().evaluate(null, String.class));
assertEquals(Font.Weight.BOLD, font.getWeight().evaluate(null, String.class));
// placement
PointPlacement pp = (PointPlacement) ps.getLabelPlacement();
assertEquals(0.5, pp.getAnchorPoint().getAnchorPointX().evaluate(null, Double.class), 0);
assertEquals(0, pp.getAnchorPoint().getAnchorPointY().evaluate(null, Double.class), 0);