public static void checkKeyParam(String dataId, String group) throws NacosException {
        if (StringUtils.isBlank(dataId) || !ParamUtils.isValid(dataId)) {
            throw new NacosException(NacosException.CLIENT_INVALID_PARAM, DATAID_INVALID_MSG);
        }
        if (StringUtils.isBlank(group) || !ParamUtils.isValid(group)) {
            throw new NacosException(NacosException.CLIENT_INVALID_PARAM, GROUP_INVALID_MSG);
        }
    }
@Test
    void testCheckKeyParam1() throws NacosException {
        String dataId = "b";
        String group = "c";
        ParamUtils.checkKeyParam(dataId, group);
        
        try {
            dataId = "";
            group = "c";
            ParamUtils.checkKeyParam(dataId, group);
            fail();
        } catch (NacosException e) {
            assertEquals("dataId invalid", e.getMessage());
        }
        
        try {
            dataId = "b";
            group = "";
            ParamUtils.checkKeyParam(dataId, group);
            fail();
        } catch (NacosException e) {
            assertEquals("group invalid", e.getMessage());
        }
    }