@Override
    public void addPermission(String role, String resource, String action) {
        String sql = "INSERT INTO permissions (role, resource, action) VALUES (?, ?, ?)";
        EmbeddedStorageContextHolder.addSqlContext(sql, role, resource, action);
        databaseOperate.blockUpdate();
    }
@Test
    void testAddPermission() {
        embeddedPermissionPersistService.addPermission("role", "resource", "action");
        List<ModifyRequest> currentSqlContext = EmbeddedStorageContextHolder.getCurrentSqlContext();
        
        Mockito.verify(databaseOperate).blockUpdate();
    }