@Test
    void requireThatReadyCopiesMustBeEqualToRedundancy() {
        try {
            getTwoGroupsCluster(4, 3, "2|*");
            fail("Did not get expected Exception");
        } catch (Exception e) {
            assertEquals("In content cluster 'mycluster': Expected equal amount of ready copies per group, but 3 ready copies is specified with 2 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