@Override
    public void fire(final Connection connection, final Object[] oldRow, final Object[] newRow) throws SQLException {
        try (PreparedStatement statement = connection.prepareStatement(
                "INSERT IGNORE INTO PLUGIN_HANDLE (`ID`,`PLUGIN_ID`,`FIELD`,`LABEL`,`DATA_TYPE`,`TYPE`,`SORT`,`EXT_OBJ`)"
                        + " VALUES ( ?, ?, ?, ?, ?, ?, ?, ?)")) {
            BaseTrigger.sqlExecute(newRow, statement);
        } catch (ShenyuException e) {
            LOG.error("PluginHandleH2Trigger Error:", e);
        }
    }
@Test
    public void testPluginHandleH2Trigger() throws SQLException {
        final PluginHandleH2Trigger pluginHandleH2Trigger = new PluginHandleH2Trigger();
        final Connection connection = mock(Connection.class);
        when(connection.prepareStatement(anyString())).thenReturn(mock(PreparedStatement.class));
        Assertions.assertDoesNotThrow(() -> pluginHandleH2Trigger.fire(connection, new Object[1], new Object[1]));
        Assertions.assertDoesNotThrow(pluginHandleH2Trigger::close);
        Assertions.assertDoesNotThrow(pluginHandleH2Trigger::remove);
    }