@Test
    void testRestrictLists3() {
        Query query = new Query();
        query.getModel().getSources().add("clusterOne");
        query.getModel().getRestrict().add("two");
        IndexFacts indexFacts = createIndexFacts();
        IndexFacts.Session session = indexFacts.newSession(query);
        assertTrue(session.getIndex("a").isNull());
        assertFalse(session.getIndex("d").isNull());
        assertTrue(session.getIndex("d").isUriIndex());
        assertTrue(session.getIndex("e").isExact());
    }
Tests using synthetic index names for IndexFacts class.

@author Steinar Knutsen
container-search/src/test/java/com/yahoo/prelude/test/IndexFactsTestCase.java