@Test public void testOnResize() { when(parent.getOffsetWidth()).thenReturn(WIDTH); when(parent.getOffsetHeight()).thenReturn(HEIGHT); ((ResizeFlowPanel) view.asWidget()).onResize(); verify(panel).setPixelSize(WIDTH, HEIGHT); verify(panel).doSuperOnResize(); }
@Override public Widget asWidget() { return panel; }
ScreenPanelViewImpl implements ScreenPanelView { @Override public Widget asWidget() { return panel; } }
ScreenPanelViewImpl implements ScreenPanelView { @Override public Widget asWidget() { return panel; } ScreenPanelViewImpl();   ScreenPanelViewImpl(final ResizeFlowPanel panel); }
ScreenPanelViewImpl implements ScreenPanelView { @Override public Widget asWidget() { return panel; } ScreenPanelViewImpl();   ScreenPanelViewImpl(final ResizeFlowPanel panel); @Override ScreenPanelView setWidget(final IsWidget widget); @Override ScreenPanelView clear(); @Override Widget asWidget(); }
ScreenPanelViewImpl implements ScreenPanelView { @Override public Widget asWidget() { return panel; } ScreenPanelViewImpl();   ScreenPanelViewImpl(final ResizeFlowPanel panel); @Override ScreenPanelView setWidget(final IsWidget widget); @Override ScreenPanelView clear(); @Override Widget asWidget();  }