@Test
    void default_public_consumers_is_set_up_for_self_hosted() {
        ConsumersConfig config = consumersConfigFromXml(servicesWithAdminOnly(), self_hosted);
        assertEquals(4, config.consumer().size());
        assertEquals(MetricsConsumer.defaultConsumer.id(), config.consumer(2).name());
        int numMetricsForPublicDefaultConsumer = defaultMetricSet.getMetrics().size() + numSystemMetrics;
        assertEquals(numMetricsForPublicDefaultConsumer, config.consumer(2).metric().size());
    }
Tests for {@link MetricsProxyContainerCluster} related to metrics consumers.

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