SideDockItem extends AbstractSideDockItem { @Override public void open() { opened = true; itemButton.setActive(true); itemButton.setType(ButtonType.INFO); if (getDock().getImageIconFocused() != null) { itemButton.remove(0); configureImageIcon(itemButton, getDock().getImageIconFocused()); } } SideDockItem(UberfireDock dock,
                 final ParameterizedCommand<String> openCommand,
                 final ParameterizedCommand<String> closeCommand); @Override void open(); @Override void openAndExecuteExpandCommand(); @Override void close(); void closeAndExecuteCommand(); boolean isOpened();  }
@Test public void openSideDockItemWithFontIconTest() { sideDockWithFontIcon.open(); verify(sideDockWithFontIcon, never()).configureImageIcon(any(Button.class), any(ImageResource.class)); }
@Test public void openSouthDockItemWithImageIconTest() { sideDockWithImageIcon.open(); verify(sideDockWithImageIcon).configureImageIcon(any(Button.class), eq(imageResourceFocused)); }