### Question:
Finders { public static Finder expandedFinder(String... queries) { var finder = identSum(); for (String query : queries) { finder = finder.or(Finder.contains(query)); } return finder; } private  Finders(); static Finder advancedFinder(String query, String orQuery, String notQuery); static Finder filteredFinder(String query, String... excludeQueries); static Finder specializedFinder(String... queries); static Finder expandedFinder(String... queries);  }### Answer:
@Test public void expandedFinderTest() { var res = expandedFinder("It was","kingdom").find(text()); Assert.assertEquals(res.size(),3); Assert.assertEquals(res.get(0),"It was many and many a year ago,"); Assert.assertEquals(res.get(1),"In a kingdom by the sea,"); Assert.assertEquals(res.get(2),"In this kingdom by the sea;"); }