@Test
    public void testGetBrokers() throws Exception {
        final String result = "[\"localhost:8080\"]";
        List<String> expected = GSON.fromJson(result, ArrayList.class);
        List<String> brokers = PulsarUtils.getBrokers(client, pulsarCluster);
        assertEquals(expected.size(), brokers.size());
        assertEquals(expected, brokers);
    }
Test cases for {@link PulsarUtils#getBrokers(RestTemplate, PulsarClusterInfo)}.

@throws Exception
inlong-manager/manager-service/src/test/java/org/apache/inlong/manager/service/queue/PulsarUtilsTest.java