@Override
    public boolean updateAccessConfig(PlainAccessConfig plainAccessConfig) {
        return aclPlugEngine.updateAccessConfig(plainAccessConfig);
    }
@Test(expected = AclException.class)
    public void createAndUpdateAccessAclNullSkExceptionTest() {
        String backupFileName = System.getProperty("rocketmq.home.dir")
                + File.separator + "conf/plain_acl_bak.yml".replace("/", File.separator);
        String targetFileName = System.getProperty("rocketmq.home.dir")
                + File.separator + "conf/plain_acl.yml".replace("/", File.separator);
        PlainAccessData backUpAclConfigMap = AclUtils.getYamlDataObject(backupFileName, PlainAccessData.class);
        AclUtils.writeDataObject(targetFileName, backUpAclConfigMap);

        PlainAccessConfig plainAccessConfig = new PlainAccessConfig();
        plainAccessConfig.setAccessKey("RocketMQ33");
        // secret key is null

        PlainAccessValidator plainAccessValidator = new PlainAccessValidator();
        plainAccessValidator.updateAccessConfig(plainAccessConfig);

        AclUtils.writeDataObject(targetFileName, backUpAclConfigMap);
    }