@Test
public void testVersion1StyleParser() throws Throwable {
PJsonObject layerJson = parseJSONObjectFromFile(MapfishJsonStyleParserPluginTest.class,
"bug_cant_transform_to_xml.json");
Optional<Style> style = parser.parseStyle(null, new TestHttpClientFactory(), layerJson.getString("style"),
null);
assertTrue(style.isPresent());
transformer.transform(style.get()); // assert it can be converted to SLD
}