@Test
    void consumer_id_is_case_insensitive() {
        String services = String.join("\n",
                "<services>",
                "    <admin version='2.0'>",
                "        <adminserver hostalias='node1'/>",
                "        <metrics>",
                "            <consumer id='A'/>",
                "            <consumer id='a'/>",
                "        </metrics>",
                "    </admin>",
                "</services>"
        );

        try {
            consumersConfigFromXml(services, self_hosted);
            fail();
        } catch (IllegalArgumentException e) {
            assertEquals("'a' is used as id for two metrics consumers (case is ignored.)", e.getMessage());
        }
    }
Tests for {@link MetricsProxyContainerCluster} related to metrics consumers.

@author gjoranv
config-model/src/test/java/com/yahoo/vespa/model/admin/metricsproxy/MetricsConsumersTest.java