### Question:
ShortcutSubHeadingTextPresenter { public void setup(final String text, final int part) { view.setText(shortcutHelper.getPart(text, part)); } @Inject  ShortcutSubHeadingTextPresenter(final View view,
                                           final ShortcutHelper shortcutHelper); @PostConstruct void init(); void setup(final String text,
                      final int part); View getView();  }### Answer:
@Test public void setupTest() { doReturn("parsedText").when(shortcutHelper).getPart(anyString(), anyInt()); presenter.setup("text", 1); verify(view).setText("parsedText"); }