### Question:
CardPresenter { public void addTitle( final TitlePresenter titlePresenter ) { view.add( titlePresenter.getView() ); } @Inject  CardPresenter( final View view ); @PostConstruct void init(); View getView(); void addTitle( final TitlePresenter titlePresenter ); void addBody( final BodyPresenter bodyPresenter ); void addFooter( final FooterPresenter footerPresenter );  }### Answer:
@Test public void testAddTitle() { TitlePresenter titlePresenter = mock( TitlePresenter.class ); presenter.addTitle( titlePresenter ); verify( titlePresenter ).getView(); verify( view ).add( titlePresenter.getView() ); }