### Question:
HelloMessage implements WireProtocolMessage { String clientId() { return clientId; } private  HelloMessage(Bytes nodeId, int listenPort, String clientId, int p2pVersion, List<Capability> capabilities); @Override Bytes toBytes(); @Override int messageType(); int p2pVersion(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test void clientId() { HelloMessage msg = HelloMessage.create(Bytes.fromHexString("deadbeef"), 10000, 3, "foofoo", Collections.emptyList()); HelloMessage msgRead = HelloMessage.read(msg.toBytes()); assertEquals("foofoo", msgRead.clientId()); }