BookmarksPresenter implements BookmarksContract.UserInteraction { @Override public void loadBookmarks() { view.showBookmarks(bookmarksStorage.loadBookmarks()); } @Inject  BookmarksPresenter(BookmarksStorage bookmarksStorage); void onResume(BookmarksContract.BookmarksView view); @Override void loadBookmarks(); @Override void bookmarkMovie(Movie movie);  }
@Test public void testLoadBookmarks() throws Exception { when(bookmarksStorage.loadBookmarks()).thenReturn(MOVIES); presenter.loadBookmarks(); verify(bookmarksStorage).loadBookmarks(); verify(view).showBookmarks(MOVIES); }