MetaBufferEstimator extends FilterAttributeExtractor implements StyleVisitor { public boolean isEstimateAccurate() { return estimateAccurate; }  void reset(); int getBuffer(); boolean isEstimateAccurate(); void visit(Style style); void visit(Rule rule); void visit(FeatureTypeStyle fts); void visit(Fill fill); void visit(Stroke stroke); void visit(Symbolizer sym); void visit(RasterSymbolizer rs); void visit(PointSymbolizer ps); void visit(LineSymbolizer line); void visit(PolygonSymbolizer poly); void visit(TextSymbolizer text); void visit(Graphic gr); void visit(Mark mark); void visit(ExternalGraphic exgr); void visit(PointPlacement pp); void visit(AnchorPoint ap); void visit(Displacement dis); void visit(LinePlacement lp); void visit(Halo halo); void visit(StyledLayerDescriptor sld); void visit(NamedLayer layer); void visit(UserLayer layer); void visit(FeatureTypeConstraint ftc); void visit(ColorMap map); void visit(ColorMapEntry entry); void visit(ContrastEnhancement contrastEnhancement); void visit(ImageOutline outline); void visit(ChannelSelection cs); void visit(OverlapBehavior ob); void visit(SelectedChannelType sct); void visit(ShadedRelief sr);  }
@Test public void testDynamicSize() throws Exception { Style style = RendererBaseTest.loadStyle(this, "externalGraphicDynamicSize.sld"); MetaBufferEstimator estimator = new MetaBufferEstimator(); style.accept(estimator); assertFalse(estimator.isEstimateAccurate()); }