private void assertSearchNode(int expRowId, int expPartitionId, int expDistibutionKey, SearchNode node) {
        assertEquals(expRowId, node.getNodeSpec().groupIndex());
        assertEquals(expPartitionId, node.getNodeSpec().partitionId());
        assertEquals(expDistibutionKey, ((ContentNode)node.getServiceLayerService()).getDistributionKey());
    }
Unit tests for hierarchic distribution in an indexed content cluster.

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