@Test public void testAddStage() { IsElement stage = mock(IsElement.class); presenter.addStage(stage); verify(view, times(1)).addStage(stage); }
public void addStage(final IsElement stage) { view.addStage(stage); }
PipelinePresenter { public void addStage(final IsElement stage) { view.addStage(stage); } }
PipelinePresenter { public void addStage(final IsElement stage) { view.addStage(stage); } @Inject  PipelinePresenter(final View view); }
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(); }
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();  }