@Test
    public void testCreateTenant() throws Exception {
        PulsarTenantInfo pulsarTenantInfo = new PulsarTenantInfo();
        pulsarTenantInfo.setAdminRoles(Sets.newHashSet());
        pulsarTenantInfo.setAllowedClusters(Sets.newHashSet("standalone"));
        PulsarUtils.createTenant(client, pulsarCluster, DEFAULT_CREATE_TENANT, pulsarTenantInfo);
        Thread.sleep(500);
        List<String> tenants = PulsarUtils.getTenants(client, pulsarCluster);
        assertTrue(tenants.contains(DEFAULT_CREATE_TENANT));
    }
Test cases for {@link PulsarUtils#createTenant}.

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