### Question:
ServerContainerEmptyPresenter { public void setTemplate(final ServerTemplate serverTemplate) { this.serverTemplate = checkNotNull("serverTemplate", serverTemplate); view.setTemplateName(serverTemplate.getName()); } @Inject  ServerContainerEmptyPresenter(final View view,
                                         final Event<AddNewContainer> addNewContainerEvent); @PostConstruct void init(); View getView(); void setTemplate(final ServerTemplate serverTemplate); void addContainer();  }### Answer:
@Test public void testTemplate() { final ServerTemplate template = new ServerTemplate( "id", "name" ); presenter.setTemplate( template ); verify( view ).setTemplateName( template.getName() ); }