@Test public void testAsWidget() { Widget widget = mock(Widget.class); when(delegate.asWidget()).thenReturn(widget); assertEquals(widget, tested.asWidget()); }
@Override public Widget asWidget() { return getDelegate().asWidget(); }
DelegateLienzoPanel implements LienzoPanel { @Override public Widget asWidget() { return getDelegate().asWidget(); } }
DelegateLienzoPanel implements LienzoPanel { @Override public Widget asWidget() { return getDelegate().asWidget(); }  }
DelegateLienzoPanel implements LienzoPanel { @Override public Widget asWidget() { return getDelegate().asWidget(); }  @Override LienzoPanel show(final LienzoLayer layer); @Override LienzoPanel show(final LienzoLayer layer,
                            final int width,
                            final int height); @Override LienzoPanel setPixelSize(final int wide,
                                    final int high); @Override LienzoPanel focus(); @Override int getWidthPx(); @Override int getHeightPx(); @Override void setBackgroundLayer(final Layer layer); @Override Bounds getLocationConstraints(); @Override void destroy(); @Override Widget asWidget(); @Override LienzoBoundsPanel getView(); }
DelegateLienzoPanel implements LienzoPanel { @Override public Widget asWidget() { return getDelegate().asWidget(); }  @Override LienzoPanel show(final LienzoLayer layer); @Override LienzoPanel show(final LienzoLayer layer,
                            final int width,
                            final int height); @Override LienzoPanel setPixelSize(final int wide,
                                    final int high); @Override LienzoPanel focus(); @Override int getWidthPx(); @Override int getHeightPx(); @Override void setBackgroundLayer(final Layer layer); @Override Bounds getLocationConstraints(); @Override void destroy(); @Override Widget asWidget(); @Override LienzoBoundsPanel getView();  }