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);
assertEquals("graphicName", propertyName(mark.getWellKnownName()));
assertEquals("fillOpacity", propertyName(mark.getFill().getOpacity()));
assertEquals("fillColor", propertyName(mark.getFill().getColor()));
assertEquals("strokeColor", propertyName(mark.getStroke().getColor()));
assertEquals("strokeOpacity", propertyName(mark.getStroke().getOpacity()));
assertEquals("strokeWidth", propertyName(mark.getStroke().getWidth()));
assertEquals("strokeLinecap", propertyName(mark.getStroke().getLineCap()));
assertEquals("lineStrokeColor", propertyName(lineSymbolizer.getStroke().getColor()));
assertEquals("lineStrokeOpacity", propertyName(lineSymbolizer.getStroke().getOpacity()));
assertEquals("lineStrokeWidth", propertyName(lineSymbolizer.getStroke().getWidth()));
assertEquals("lineStrokeLinecap", propertyName(lineSymbolizer.getStroke().getLineCap()));
assertEquals("PolyStrokeColor", propertyName(polygonSymbolizer.getStroke().getColor()));
assertEquals("PolyStrokeOpacity", propertyName(polygonSymbolizer.getStroke().getOpacity()));
assertEquals("PolyStrokeWidth", propertyName(polygonSymbolizer.getStroke().getWidth()));
assertEquals("PolyStrokeLinecap", propertyName(polygonSymbolizer.getStroke().getLineCap()));
assertEquals("PolyFillOpacity", propertyName(polygonSymbolizer.getFill().getOpacity()));
assertEquals("PolyFillColor", propertyName(polygonSymbolizer.getFill().getColor()));
assertEquals("fontColor", propertyName(textSymbolizer.getFill().getColor()));
assertEquals("fontFamily", propertyName(textSymbolizer.getFont().getFamily().get(0)));
assertEquals("fontSize", propertyName(textSymbolizer.getFont().getSize()));
assertEquals("fontStyle", propertyName(textSymbolizer.getFont().getStyle()));