@Test
public void searchOneWord() throws Exception {

    BookSearchProcessor<String, BaseModule> searchProcessor = new BookSearchProcessor<>(repository, module, "Gen", "авель");
    Map<String, String> results = searchProcessor.search();
    assertThat(results.size(), equalTo(3));
    Set<String> references = results.keySet();
    assertTrue(references.contains("RST.Gen.4.2"));
    assertTrue(references.contains("RST.Gen.4.4"));
    assertTrue(references.contains("RST.Gen.4.9"));
}