public JmxCollector register() {
        return register(PrometheusRegistry.defaultRegistry);
    }
@Test
    public void testDefaultExportLowercaseOutputName() throws Exception {
        JmxCollector jc =
                new JmxCollector("---\nlowercaseOutputName: true").register(prometheusRegistry);
        assertNotNull(
                getSampleValue(
                        "java_lang_operatingsystem_processcputime",
                        new String[] {},
                        new String[] {}));
    }