@Test public void testInit() { presenter.init(); verify( view ).init( presenter ); assertEquals( view, presenter.getView() ); }
@PostConstruct public void init() { view.init( this ); }
CardPresenter { @PostConstruct public void init() { view.init( this ); } }
CardPresenter { @PostConstruct public void init() { view.init( this ); } @Inject  CardPresenter( final View view ); }
CardPresenter { @PostConstruct public void init() { view.init( this ); } @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 ); }
CardPresenter { @PostConstruct public void init() { view.init( this ); } @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 );  }