@Test
public void openLinkStringWithClosedActivity() throws Exception {

    final String baseUrl = "/root/path";
    final String humanLink = "Gen 1:1";
    initMocks(baseUrl, humanLink);
    doAnswer(invocation -> {
        presenter.detachView();
        return mock(Chapter.class);
    }).when(librarian).openChapter(any());
    presenter.openLink("RST.Gen.1.1");
    verify(view).showProgress(eq(false));
    verify(view, never()).setTitle(anyString(), anyString());
    verify(view, never()).onOpenChapterFailure(any());
}