@Test public void testSetWidgetIsResizableAndResizeWithZeroWidth() { when(containerParentElement.getOffsetWidth()).thenReturn(0); final ResizeComposite widget = mock(ResizeComposite.class); container.setWidget(widget); verifyResizableInteractionsWithZeroDimension(widget); }
@Override public void setWidget(final IsWidget w) { if (w instanceof RequiresResize) { resizableContent = Optional.of((RequiresResize) w); } super.setWidget(w); }
DMNGridPanelContainer extends SimplePanel implements RequiresResize { @Override public void setWidget(final IsWidget w) { if (w instanceof RequiresResize) { resizableContent = Optional.of((RequiresResize) w); } super.setWidget(w); } }
DMNGridPanelContainer extends SimplePanel implements RequiresResize { @Override public void setWidget(final IsWidget w) { if (w instanceof RequiresResize) { resizableContent = Optional.of((RequiresResize) w); } super.setWidget(w); }  }
DMNGridPanelContainer extends SimplePanel implements RequiresResize { @Override public void setWidget(final IsWidget w) { if (w instanceof RequiresResize) { resizableContent = Optional.of((RequiresResize) w); } super.setWidget(w); }  @Override void setWidget(final IsWidget w); @Override void setWidget(final Widget w); @Override void onResize(); }
DMNGridPanelContainer extends SimplePanel implements RequiresResize { @Override public void setWidget(final IsWidget w) { if (w instanceof RequiresResize) { resizableContent = Optional.of((RequiresResize) w); } super.setWidget(w); }  @Override void setWidget(final IsWidget w); @Override void setWidget(final Widget w); @Override void onResize();  }