### Question:
PipelineItemPresenter extends AbstractHasContentChangeHandlers { public void setup(final PipelineKey pipeline) { this.pipeline = pipeline; view.setPipelineName(pipeline.getId()); } @Inject  PipelineItemPresenter(final View view); @PostConstruct void init(); void setup(final PipelineKey pipeline); PipelineKey getPipeline(); void addOthers(final Collection<PipelineItemPresenter> items); boolean isSelected(); IsElement getView();  }### Answer:
@Test public void testSetup() { presenter.setup(PIPELINE1_KEY); verify(view, times(1)).setPipelineName(PIPELINE1); }