@Test
public void nextChapterWithError() throws Exception {

    doAnswer(invocation -> {
        throw new OpenModuleException("RST", "");
    }).when(librarian).nextChapter();
    presenter.nextChapter();
    verify(view).onOpenChapterFailure(any());
}