### Question:
PipelinePresenter { public void addStage(final IsElement stage) { view.addStage(stage); } @Inject  PipelinePresenter(final View view); @PostConstruct void init(); View getView(); void addStage(final IsElement stage); void clearStages();  }### Answer:
@Test public void testAddStage() { IsElement stage = mock(IsElement.class); presenter.addStage(stage); verify(view, times(1)).addStage(stage); }