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