UuidCodec implements MessageCodec<UUID, UUID> { @Override public String name() { return "UUID Codec"; }  @Override void encodeToWire(Buffer buffer, UUID s); @Override UUID decodeFromWire(int pos, Buffer buffer); @Override UUID transform(UUID s); @Override String name(); @Override byte systemCodecID();  }
@Test public void testName() { UuidCodec codec = new UuidCodec(); assertThat(codec.name()).isEqualTo("UUID Codec"); }