@Test public void testInit() { final TreeListItem presenter = mock(TreeListItem.class); itemView.init(presenter); final TreeListItem actual = itemView.getPresenter(); assertEquals(actual, presenter); }
@Override public void init(final TreeListItem presenter) { this.presenter = presenter; }
TreeListItemView implements TreeListItem.View { @Override public void init(final TreeListItem presenter) { this.presenter = presenter; } }
TreeListItemView implements TreeListItem.View { @Override public void init(final TreeListItem presenter) { this.presenter = presenter; } @Inject  TreeListItemView(final HTMLDivElement itemHeader,
                            final HTMLDivElement itemsContainer,
                            final HTMLDivElement itemDetails,
                            final HTMLDivElement expandContainer,
                            @Named("span") final HTMLElement expand,
                            final HTMLInputElement checkbox,
                            final HTMLDivElement itemRoot); }
TreeListItemView implements TreeListItem.View { @Override public void init(final TreeListItem presenter) { this.presenter = presenter; } @Inject  TreeListItemView(final HTMLDivElement itemHeader,
                            final HTMLDivElement itemsContainer,
                            final HTMLDivElement itemDetails,
                            final HTMLDivElement expandContainer,
                            @Named("span") final HTMLElement expand,
                            final HTMLInputElement checkbox,
                            final HTMLDivElement itemRoot); TreeListItem getPresenter(); @Override void init(final TreeListItem presenter); @EventHandler("data-object-checkbox") void onCheckboxChanged(final ChangeEvent valueChanged); @EventHandler("item-header") void onClick(final ClickEvent e); void populate(final TreeListItem item); @Override HTMLElement getElement(); }
TreeListItemView implements TreeListItem.View { @Override public void init(final TreeListItem presenter) { this.presenter = presenter; } @Inject  TreeListItemView(final HTMLDivElement itemHeader,
                            final HTMLDivElement itemsContainer,
                            final HTMLDivElement itemDetails,
                            final HTMLDivElement expandContainer,
                            @Named("span") final HTMLElement expand,
                            final HTMLInputElement checkbox,
                            final HTMLDivElement itemRoot); TreeListItem getPresenter(); @Override void init(final TreeListItem presenter); @EventHandler("data-object-checkbox") void onCheckboxChanged(final ChangeEvent valueChanged); @EventHandler("item-header") void onClick(final ClickEvent e); void populate(final TreeListItem item); @Override HTMLElement getElement();  }