@Override
    public void doLimitForModifyRequest(ModifyRequest modifyRequest) throws SQLException {
        if (null == modifyRequest || !enabledLimit) {
            return;
        }
        doLimit(modifyRequest.getSql());
    }
@Test
    void testDoLimitForModifyRequestForDmlInvalid() throws SQLException {
        ModifyRequest insert = new ModifyRequest("insert into test(id,name) values(1,'test')");
        ModifyRequest invalid = new ModifyRequest("CALL SALES.TOTAL_REVENUES()");
        List<ModifyRequest> modifyRequests = new LinkedList<>();
        modifyRequests.add(insert);
        modifyRequests.add(invalid);
        assertThrows(SQLException.class, () -> sqlLimiter.doLimitForModifyRequest(modifyRequests));
    }