@Test
    void requireThatSearchNodesAreCorrectWithOneGroup() throws Exception {
        ContentCluster c = getOneGroupCluster();
        List<SearchNode> searchNodes = c.getSearch().getSearchNodes();

        assertEquals(3, searchNodes.size());
        assertSearchNode(0, 0, 0, searchNodes.get(0));
        assertSearchNode(0, 1, 1, searchNodes.get(1));
        assertSearchNode(0, 2, 2, searchNodes.get(2));
    }
Unit tests for hierarchic distribution in an indexed content cluster.

@author geirst
config-model/src/test/java/com/yahoo/vespa/model/content/IndexedHierarchicDistributionTest.java