@Test
    void requireThatWeMustHaveOnlyOneGroupLevel() {
        try {
            getIllegalMultipleGroupsLevelCluster();
            fail("Did not get expected Exception");
        } catch (Exception e) {
            assertEquals("Expected all groups under root group 'null' to be leaf groups only containing nodes, but sub group 'group0' contains 2 sub groups",
                         Exceptions.toMessageString(e));
        }
    }
Unit tests for hierarchic distribution in an indexed content cluster.

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