    @Test
    public void testGetHosts() {

        AccessPointURI accessPointURI = new AccessPointURI(fullSchemaURI);
        assertThat(accessPointURI.getHosts()).isEqualTo("rocketmq.apache.org");

        String multipleHostsURI = "oms:rocketmq://alice@rocketmq.apache.org,pulsar.apache.org:9091/us-east:default_space";
        accessPointURI = new AccessPointURI(multipleHostsURI);
        assertThat(accessPointURI.getHosts()).isEqualTo("rocketmq.apache.org,pulsar.apache.org:9091");
    }