@Test
public void removeBookmarks() throws Exception {

    doAnswer(invocation -> {
        when(bookmarksManager.getAll(isNull())).thenReturn(Collections.emptyList());
        return null;
    }).when(bookmarksManager).delete(any(Bookmark.class));
    presenter.setChangeListener(changeListener);
    presenter.onRefresh(); // заполняем презентер списком закладок
    Mockito.reset(view); // сбрасываем обращения к view
    presenter.removeBookmarks();
    verify(view).updateBookmarks(bmCaptor.capture());
    verify(changeListener).onBookmarksUpdate();
    List<Bookmark> bookmarks = bmCaptor.getValue();
    assertNotNull(bookmarks);
    assertThat(bookmarks.size(), equalTo(0));
}