private List<String> targetNames(List<FederationSearcherModel.TargetSpec> targets) {
        List<String> res = new ArrayList<>();
        for (FederationSearcherModel.TargetSpec target : targets) {
            res.add(target.sourceSpec.getName());
        }
        return res;
    }
Test of DomFederationSearcherBuilder.

@author Tony Vaagenes
config-model/src/test/java/com/yahoo/vespa/model/builder/xml/dom/chains/search/DomFederationSearcherBuilderTest.java