void (@NotNull Filter.Result result, List<LinkInfo> infos) { List<Filter.ResultItem> items = result.getResultItems(); assertEquals(infos.size(), items.size()); for (int i = 0; i < infos.size(); i++) { assertHyperlink(items.get(i), infos.get(i)); } }