@Override
    public Serializable read(final MySQLBinlogColumnDef columnDef, final MySQLPacketPayload payload) {
        return payload.getByteBuf().readMediumLE();
    }
@Test
    void assertRead() {
        when(payload.getByteBuf()).thenReturn(byteBuf);
        when(byteBuf.readMediumLE()).thenReturn(1);
        MySQLInt24BinlogProtocolValue actual = new MySQLInt24BinlogProtocolValue();
        assertThat(actual.read(columnDef, payload), is(1));
    }