BookmarksPresenter extends BasePresenter<BookmarksView> { void onRefresh() { updateBookmarks(null); } @Inject  BookmarksPresenter(BookmarksManager bookmarksManager, Librarian myLibrarian); @Override void onViewCreated();  }
@Test public void onRefresh() throws Exception { presenter.onRefresh(); verify(view).updateBookmarks(bmCaptor.capture()); List<Bookmark> bookmarks = bmCaptor.getValue(); assertNotNull(bookmarks); assertThat(bookmarks.size(), equalTo(bookmarksWithoutTag.size())); }