Mark mark = (Mark) symbols.get(0);
assertEquals("triangle", mark.getWellKnownName().evaluate(null));
Fill fill = mark.getFill();
assertEquals(Color.RED, fill.getColor().evaluate(null, Color.class));
assertEquals(0.2, (double) fill.getOpacity().evaluate(null, Double.class), 0);
Stroke stroke = mark.getStroke();
assertEquals(Color.BLUE, stroke.getColor().evaluate(null, Color.class));
assertEquals(2, (int) stroke.getWidth().evaluate(null, Integer.class));
}