public Meter getBrokerMeter() {
        return brokerMeter;
    }
@Test
    public void testCreateMetricsManager() {
        MessageStoreConfig messageStoreConfig = new MessageStoreConfig();
        String storePathRootDir = System.getProperty("java.io.tmpdir") + File.separator + "store-"
                + UUID.randomUUID();
        messageStoreConfig.setStorePathRootDir(storePathRootDir);
        BrokerConfig brokerConfig = new BrokerConfig();

        NettyServerConfig nettyServerConfig = new NettyServerConfig();
        nettyServerConfig.setListenPort(0);

        BrokerController brokerController = new BrokerController(brokerConfig, nettyServerConfig,
                new NettyClientConfig(), messageStoreConfig);

        BrokerMetricsManager metricsManager = new BrokerMetricsManager(brokerController);

        assertThat(metricsManager.getBrokerMeter()).isNull();
    }