DefaultMessageId implements MessageId { @Override public boolean isSerializable() { return false; } DefaultMessageId(); @Override boolean isSerializable(); @Override String serialize(); @Override final boolean equals(Object obj); @Override final int hashCode(); @Override String toString();  }
@Test void shouldNotBeSerializable() { assertThat(new DefaultMessageId().isSerializable()).isFalse(); }