@Test
public void onSetTag() throws Exception {

    Tag tag = new Tag(1, "abraham");
    presenter.onSetTag(tag);
    verify(bookmarksManager).getAll(eq(tag));
    verify(view).updateBookmarks(bmCaptor.capture());
    List<Bookmark> bookmarks = bmCaptor.getValue();
    assertNotNull(bookmarks);
    assertThat(bookmarks.size(), equalTo(bookmarksWithTag.size()));
}