public static Finder advancedFinder(String query, String orQuery, String notQuery) {
    return
        Finder.contains(query)
            .or(Finder.contains(orQuery))
            .not(Finder.contains(notQuery));
  }
@Test
  void advancedFinderTest() {
    var res = advancedFinder("it was", "kingdom", "sea").find(text());
    assertEquals(1, res.size());
    assertEquals("It was many and many a year ago,", res.get(0));
  }