public void testExpressionProperties() throws Exception {
String jsonString = Files.toString(getFile("v2-style-all-properies-as-expressions.json"), Constants.DEFAULT_CHARSET);
PJsonObject json = MapPrinter.parseSpec(jsonString).getJSONObject("*");
final PJsonArray symb = json.getJSONArray(MapfishJsonStyleVersion2.JSON_SYMB);
final PointSymbolizer pointSymbolizer = this.helper.createPointSymbolizer(symb.getJSONObject(0));
final LineSymbolizer lineSymbolizer = this.helper.createLineSymbolizer(symb.getJSONObject(1));
final PolygonSymbolizer polygonSymbolizer = this.helper.createPolygonSymbolizer(symb.getJSONObject(2));
final TextSymbolizer textSymbolizer = this.helper.createTextSymbolizer(symb.getJSONObject(3));
final Graphic graphic = pointSymbolizer.getGraphic();
assertEquals("rotation", propertyName(graphic.getRotation()));
assertEquals("graphicOpacity", propertyName(graphic.getOpacity()));
assertEquals("pointRadius", propertyName(graphic.getSize()));
Mark mark = (Mark) graphic.graphicalSymbols().get(0);