Style style = rb.buildStyle();
// print(style);
// round up the basic elements and check its simple
StyleCollector collector = new StyleCollector();
style.accept(collector);
PolygonSymbolizer ps = (PolygonSymbolizer) collector.symbolizers.get(0);
assertEquals("#40FF40", ps.getFill().getColor().evaluate(null, String.class));
assertEquals(Color.WHITE, ps.getStroke().getColor().evaluate(null, Color.class));
assertEquals(2, (int) ps.getStroke().getWidth().evaluate(null, Integer.class));