public static boolean isSupportPrometheus() {
        return isClassPresent("io.micrometer.prometheus.PrometheusConfig")
                && isClassPresent("io.prometheus.client.exporter.BasicAuthHttpConnectionFactory")
                && isClassPresent("io.prometheus.client.exporter.HttpConnectionFactory")
                && isClassPresent("io.prometheus.client.exporter.PushGateway");
    }
@Test
    void isImportPrometheus() {
        MetricsConfig metricsConfig = new MetricsConfig();
        metricsConfig.setProtocol("prometheus");
        boolean importPrometheus = PROTOCOL_PROMETHEUS.equals(metricsConfig.getProtocol())
                && !DefaultApplicationDeployer.isSupportPrometheus();
        Assert.assertTrue(!importPrometheus, " should return false");
    }