@Test public void testAddContainer() { presenter.addContainer(); verify( addNewContainerEvent ).fire( any( AddNewContainer.class ) ); }
public void addContainer() { addNewContainerEvent.fire(new AddNewContainer(serverTemplate)); }
ServerContainerEmptyPresenter { public void addContainer() { addNewContainerEvent.fire(new AddNewContainer(serverTemplate)); } }
ServerContainerEmptyPresenter { public void addContainer() { addNewContainerEvent.fire(new AddNewContainer(serverTemplate)); } @Inject  ServerContainerEmptyPresenter(final View view,
                                         final Event<AddNewContainer> addNewContainerEvent); }
ServerContainerEmptyPresenter { public void addContainer() { addNewContainerEvent.fire(new AddNewContainer(serverTemplate)); } @Inject  ServerContainerEmptyPresenter(final View view,
                                         final Event<AddNewContainer> addNewContainerEvent); @PostConstruct void init(); View getView(); void setTemplate(final ServerTemplate serverTemplate); void addContainer(); }
ServerContainerEmptyPresenter { public void addContainer() { addNewContainerEvent.fire(new AddNewContainer(serverTemplate)); } @Inject  ServerContainerEmptyPresenter(final View view,
                                         final Event<AddNewContainer> addNewContainerEvent); @PostConstruct void init(); View getView(); void setTemplate(final ServerTemplate serverTemplate); void addContainer();  }