@Test
    void error_when_document_gives_cluster_without_matching_search_chain() {
        List<ResolveResult> result = resolve("document3");

        assertEquals("Failed to resolve cluster search chain 'cluster3' " +
                     "when using source ref 'document3' as a document name.",
                result.get(0).errorMsg());
    }
Test for SourceRefResolver.

@author Tony Vaagenes
container-search/src/test/java/com/yahoo/search/federation/sourceref/SourceRefResolverTestCase.java