MySQLPacketPayload implements PacketPayload { public void writeStringVar(final String value) { }  int readInt1(); void writeInt1(final int value); int readInt2(); void writeInt2(final int value); int readInt3(); void writeInt3(final int value); int readInt4(); void writeInt4(final int value); long readInt6(); void writeInt6(final int value); long readInt8(); void writeInt8(final long value); long readIntLenenc(); void writeIntLenenc(final long value); long readLong(final int length); String readStringLenenc(); byte[] readStringLenencByBytes(); void writeStringLenenc(final String value); void writeBytesLenenc(final byte[] value); String readStringFix(final int length); byte[] readStringFixByBytes(final int length); void writeStringFix(final String value); void writeBytes(final byte[] value); String readStringVar(); void writeStringVar(final String value); String readStringNul(); byte[] readStringNulByBytes(); void writeStringNul(final String value); byte[] readStringEOFByBytes(); String readStringEOF(); void writeStringEOF(final String value); void skipReserved(final int length); void writeReserved(final int length); @Override void close();  }
@Test public void assertWriteStringVar() { new MySQLPacketPayload(byteBuf).writeStringVar(""); }