@Override
    public Collection<DatabasePacket> execute() {
        MySQLServerPreparedStatement preparedStatement = connectionSession.getServerPreparedStatementRegistry().getPreparedStatement(packet.getStatementId());
        preparedStatement.getLongData().put(packet.getParamId(), packet.getData());
        return Collections.emptyList();
    }
@Test
    void assertExecute() {
        MySQLComStmtSendLongDataPacket packet = mock(MySQLComStmtSendLongDataPacket.class);
        when(packet.getStatementId()).thenReturn(1);
        when(packet.getParamId()).thenReturn(0);
        byte[] data = "data".getBytes(StandardCharsets.US_ASCII);
        when(packet.getData()).thenReturn(data);
        ConnectionSession connectionSession = mock(ConnectionSession.class);
        when(connectionSession.getServerPreparedStatementRegistry()).thenReturn(new ServerPreparedStatementRegistry());
        MySQLServerPreparedStatement preparedStatement = new MySQLServerPreparedStatement("insert into t (b) values (?)", mock(SQLStatementContext.class),
                new HintValueContext(), Collections.emptyList());
        connectionSession.getServerPreparedStatementRegistry().addPreparedStatement(1, preparedStatement);
        MySQLComStmtSendLongDataExecutor executor = new MySQLComStmtSendLongDataExecutor(packet, connectionSession);
        Collection<DatabasePacket> actual = executor.execute();
        assertThat(actual, is(Collections.emptyList()));
        assertThat(preparedStatement.getLongData(), is(Collections.singletonMap(0, data)));
    }