@Test public void testDraw() { Graphics2D g2d = mock( Graphics2D.class ); Rectangle2D bounds = mock( Rectangle2D.class ); wrapper.draw( g2d, bounds ); verify( sparkline ).draw( g2d, bounds ); }
public void draw( final Graphics2D g2, final Rectangle2D bounds ) { sparkline.draw( g2, bounds ); }
BarSparklinesWrapper extends DrawableWrapper implements ReportDrawable { public void draw( final Graphics2D g2, final Rectangle2D bounds ) { sparkline.draw( g2, bounds ); } }
BarSparklinesWrapper extends DrawableWrapper implements ReportDrawable { public void draw( final Graphics2D g2, final Rectangle2D bounds ) { sparkline.draw( g2, bounds ); } BarSparklinesWrapper( final BarGraphDrawable sparkline ); }
BarSparklinesWrapper extends DrawableWrapper implements ReportDrawable { public void draw( final Graphics2D g2, final Rectangle2D bounds ) { sparkline.draw( g2, bounds ); } BarSparklinesWrapper( final BarGraphDrawable sparkline ); void setConfiguration( final Configuration config ); void setStyleSheet( final StyleSheet style ); void setResourceBundleFactory( final ResourceBundleFactory bundleFactory ); ImageMap getImageMap( final Rectangle2D bounds ); boolean isPreserveAspectRatio(); Dimension getPreferredSize(); void draw( final Graphics2D g2, final Rectangle2D bounds ); }
BarSparklinesWrapper extends DrawableWrapper implements ReportDrawable { public void draw( final Graphics2D g2, final Rectangle2D bounds ) { sparkline.draw( g2, bounds ); } BarSparklinesWrapper( final BarGraphDrawable sparkline ); void setConfiguration( final Configuration config ); void setStyleSheet( final StyleSheet style ); void setResourceBundleFactory( final ResourceBundleFactory bundleFactory ); ImageMap getImageMap( final Rectangle2D bounds ); boolean isPreserveAspectRatio(); Dimension getPreferredSize(); void draw( final Graphics2D g2, final Rectangle2D bounds );  }