### Question:
VersionNegotiationPacket implements Packet { @Override public void write(final ByteBuf bb, final AEAD notUsed) { int marker = Rnd.rndInt() & 0xFF; marker |= MARKER; bb.writeByte(marker); Version.VERSION_NEGOTIATION.write(bb); ConnectionId.write(destinationConnectionId, sourceConnectionId, bb); for (final Version version : supportedVersions) { version.write(bb); } } VersionNegotiationPacket(
      final Optional<ConnectionId> destinationConnectionId,
      final Optional<ConnectionId> sourceConnectionId,
      final Version... supportedVersions);  VersionNegotiationPacket(
      final Optional<ConnectionId> destinationConnectionId,
      final Optional<ConnectionId> sourceConnectionId,
      final List<Version> supportedVersions); static HalfParsedPacket<VersionNegotiationPacket> parse(final ByteBuf bb); @Override void write(final ByteBuf bb, final AEAD notUsed); @Override Optional<ConnectionId> getSourceConnectionId(); @Override Optional<ConnectionId> getDestinationConnectionId(); List<Version> getSupportedVersions(); @Override boolean equals(final Object o); @Override int hashCode();  }### Answer:
@Test public void randomMarker() { final ByteBuf bb = Unpooled.buffer(); packet.write(bb, aead); final byte marker1 = bb.readByte(); final ByteBuf bb2 = Unpooled.buffer(); packet.write(bb2, aead); final byte marker2 = bb2.readByte(); assertTrue((0x80 & marker1) == 0x80); assertTrue((0x80 & marker2) == 0x80); }