@Test public void goToPerspectiveTest() { presenter.setup(new HomeShortcutLink("label", "perspectiveIdentifier")); presenter.goToPerspective(); verify(shortcutHelper).goTo("perspectiveIdentifier"); }
void goToPerspective() { shortcutHelper.goTo(link.getPerspectiveIdentifier()); }
ShortcutSubHeadingLinkPresenter { void goToPerspective() { shortcutHelper.goTo(link.getPerspectiveIdentifier()); } }
ShortcutSubHeadingLinkPresenter { void goToPerspective() { shortcutHelper.goTo(link.getPerspectiveIdentifier()); } @Inject  ShortcutSubHeadingLinkPresenter(final View view,
                                           final ShortcutHelper shortcutHelper); }
ShortcutSubHeadingLinkPresenter { void goToPerspective() { shortcutHelper.goTo(link.getPerspectiveIdentifier()); } @Inject  ShortcutSubHeadingLinkPresenter(final View view,
                                           final ShortcutHelper shortcutHelper); @PostConstruct void init(); void setup(final HomeShortcutLink link); View getView(); }
ShortcutSubHeadingLinkPresenter { void goToPerspective() { shortcutHelper.goTo(link.getPerspectiveIdentifier()); } @Inject  ShortcutSubHeadingLinkPresenter(final View view,
                                           final ShortcutHelper shortcutHelper); @PostConstruct void init(); void setup(final HomeShortcutLink link); View getView();  }