public void writeStringLenenc(final String value) {
        if (Strings.isNullOrEmpty(value)) {
            byteBuf.writeByte(0);
            return;
        }
        byte[] valueBytes = value.getBytes(charset);
        writeIntLenenc(valueBytes.length);
        byteBuf.writeBytes(valueBytes);
    }
@Test
    void assertWriteStringLenencWithEmpty() {
        new MySQLPacketPayload(byteBuf, StandardCharsets.UTF_8).writeStringLenenc("");
        verify(byteBuf).writeByte(0);
    }