assertNotNull("rules are null", style.featureTypeStyles().get(0).rules());
assertTrue("more or less that one rule is available", style.featureTypeStyles().get(0).rules().size() == 1);
Rule rule = style.featureTypeStyles().get(0).rules().get(0);
assertNotNull("rule is null", rule);
List<? extends Symbolizer> symbolizers = rule.symbolizers();
assertNotNull("symbolizers are null", symbolizers);
assertTrue("more or less that one symbolizer is available", symbolizers.size() == 1);
PointSymbolizer pointSymbolizer = (PointSymbolizer) symbolizers.get(0);
assertNotNull("point symbolizer is null", pointSymbolizer);