@Override
    protected void write(final MySQLPacketPayload payload) {
        payload.writeInt1(STATUS);
        payload.writeInt4(statementId);
        // TODO Column Definition Block should be added in future when the meta data of the columns is cached.
        payload.writeInt2(columnCount);
        payload.writeInt2(parameterCount);
        payload.writeReserved(1);
        payload.writeInt2(warningCount);
    }
@Test
    void assertWrite() {
        MySQLComStmtPrepareOKPacket actual = new MySQLComStmtPrepareOKPacket(1, 0, 1, 0);
        actual.write(payload);
        verify(payload).writeInt1(0x00);
        verify(payload, times(2)).writeInt2(0);
        verify(payload).writeInt2(1);
        verify(payload).writeInt4(1);
        verify(payload).writeReserved(1);
    }