@Override
    protected void write(final MySQLPacketPayload payload) {
        payload.writeIntLenenc(columnCount);
    }
@Test
    void assertWrite() {
        when(payload.readInt1()).thenReturn(3);
        MySQLFieldCountPacket actual = new MySQLFieldCountPacket(payload);
        assertThat(actual.getColumnCount(), is(3));
        actual.write(payload);
        verify(payload).writeIntLenenc(3L);
    }