public RegisterBrokerResult registerBroker(
        final String clusterName,
        final String brokerAddr,
        final String brokerName,
        final long brokerId,
        final String haServerAddr,
        final String zoneName,
        final Long timeoutMillis,
        final TopicConfigSerializeWrapper topicConfigWrapper,
        final List<String> filterServerList,
        final Channel channel) {
        return registerBroker(clusterName, brokerAddr, brokerName, brokerId, haServerAddr, zoneName, timeoutMillis, false, topicConfigWrapper, filterServerList, channel);
    }
@Test
    public void testRegisterBroker() {
        DataVersion dataVersion = new DataVersion();
        dataVersion.setCounter(new AtomicLong(10L));
        dataVersion.setTimestamp(100L);

        ConcurrentHashMap<String, TopicConfig> topicConfigConcurrentHashMap = new ConcurrentHashMap<>();
        topicConfigConcurrentHashMap.put("unit-test0", new TopicConfig("unit-test0"));
        topicConfigConcurrentHashMap.put("unit-test1", new TopicConfig("unit-test1"));

        TopicConfigSerializeWrapper topicConfigSerializeWrapper = new TopicConfigSerializeWrapper();
        topicConfigSerializeWrapper.setDataVersion(dataVersion);
        topicConfigSerializeWrapper.setTopicConfigTable(topicConfigConcurrentHashMap);
        Channel channel = mock(Channel.class);
        RegisterBrokerResult registerBrokerResult = routeInfoManager.registerBroker("default-cluster", "127.0.0.1:10911", "default-broker", 1234, "127.0.0.1:1001", "",
                null, topicConfigSerializeWrapper, new ArrayList<>(), channel);
        assertThat(registerBrokerResult).isNotNull();
    }