CategorizedArea extends AbstractCategorizedLegend<AreaParameters> implements EnablesStroke { @Override public Symbolizer getSymbolizer() { return symbolizer; } CategorizedArea();  CategorizedArea(AreaSymbolizer as); @Override List<CategorizedLegend> getCategorizedLegend(); @Override Symbolizer getSymbolizer(); @Override String getLegendTypeName(); @Override AreaParameters get(Object o); @Override AreaParameters put(Double d, AreaParameters ap); @Override AreaParameters remove(Object o); @Override void setFallbackParameters(AreaParameters fallback); @Override AreaParameters getFallbackParameters(); @Override boolean isStrokeEnabled(); @Override void setStrokeEnabled(boolean enable); @Override Uom getStrokeUom(); @Override void setStrokeUom(Uom u); @Override String getLegendTypeId(); static final String NAME; }
@Test public void testInstanciation() throws Exception { AreaSymbolizer as = getAreaSymbolizer(); CategorizedArea categorizedArea = new CategorizedArea(as); assertTrue(categorizedArea.getSymbolizer() == as); }