@Test
public void testValidFill() throws Exception {

        Style s = getStyle(COLOR_CATEGORIZE);
        AreaSymbolizer as = (AreaSymbolizer) s.getRules().get(0).getCompositeSymbolizer()
                .getSymbolizerList().get(0);
        SymbolizerTypeAnalyzer sta = new SymbolizerTypeAnalyzer();
        assertTrue(sta.validateFill(as.getFill()));
}