public static void checkTenant(String tenant) throws NacosException {
        if (StringUtils.isBlank(tenant) || !ParamUtils.isValid(tenant)) {
            throw new NacosException(NacosException.CLIENT_INVALID_PARAM, TENANT_INVALID_MSG);
        }
    }
@Test
    void testCheckTenantFail() throws NacosException {
        Throwable exception = assertThrows(NacosException.class, () -> {
            String tenant = "";
            ParamUtils.checkTenant(tenant);
        });
        assertTrue(exception.getMessage().contains("tenant invalid"));
    }