@Override
    public void write(final MySQLPacketPayload payload, final Object value) {
        payload.writeInt2((Integer) value);
    }
@Test
    void assertWrite() {
        new MySQLInt2BinaryProtocolValue().write(payload, 1);
        verify(payload).writeInt2(1);
    }