UberfireDocksImpl implements UberfireDocks { protected void setup(@Observes UberfireDockContainerReadyEvent event) { docksBars.setup(); } @Inject  UberfireDocksImpl(DocksBars docksBars,
                             Event<UberfireDockReadyEvent> dockReadyEvent); @Override void add(UberfireDock... docks); void perspectiveChangeEvent(@Observes PerspectiveChange perspectiveChange); @Override void remove(UberfireDock... docks); @Override void open(UberfireDock dock); @Override void close(UberfireDock dock); @Override void toggle(UberfireDock dock); @Override void hide(UberfireDockPosition position,
                     String perspectiveName); @Override void show(UberfireDockPosition position,
                     String perspectiveName);  }
@Test public void setupDocks() { uberfireDocks.setup(new UberfireDockContainerReadyEvent()); verify(docksBars).setup(); }