@Test @SuppressWarnings("unchecked") public void testAddButtonIntoParent() { doInit(); final ButtonItem buttonItem = mock(ButtonItem.class); tested.addButton(buttonItem); verify(toolboxView, times(1)).add(eq(buttonGridItem)); verify(buttonGridItem, times(1)).add(buttonItem); }
@Override protected void addButton(final ButtonItem buttonItem) { gridItem.add(buttonItem); }
MorphActionsToolboxView extends AbstractActionsToolboxView<MorphActionsToolboxView> { @Override protected void addButton(final ButtonItem buttonItem) { gridItem.add(buttonItem); } }
MorphActionsToolboxView extends AbstractActionsToolboxView<MorphActionsToolboxView> { @Override protected void addButton(final ButtonItem buttonItem) { gridItem.add(buttonItem); } @Inject  MorphActionsToolboxView(final LienzoGlyphRenderers glyphRenderers);   MorphActionsToolboxView(final LienzoGlyphRenderers glyphRenderers,
                            final ToolboxFactory toolboxFactory); }
MorphActionsToolboxView extends AbstractActionsToolboxView<MorphActionsToolboxView> { @Override protected void addButton(final ButtonItem buttonItem) { gridItem.add(buttonItem); } @Inject  MorphActionsToolboxView(final LienzoGlyphRenderers glyphRenderers);   MorphActionsToolboxView(final LienzoGlyphRenderers glyphRenderers,
                            final ToolboxFactory toolboxFactory);  }
MorphActionsToolboxView extends AbstractActionsToolboxView<MorphActionsToolboxView> { @Override protected void addButton(final ButtonItem buttonItem) { gridItem.add(buttonItem); } @Inject  MorphActionsToolboxView(final LienzoGlyphRenderers glyphRenderers);   MorphActionsToolboxView(final LienzoGlyphRenderers glyphRenderers,
                            final ToolboxFactory toolboxFactory);   }