@Test void ofShouldReturnAValidCassandraMesssageId() { CassandraMessageId.Factory testee = new CassandraMessageId.Factory(); UUID expectedUuid = UUID.randomUUID(); CassandraMessageId cassandraMessageId = testee.of(expectedUuid); assertThat(cassandraMessageId.get()).isEqualTo(expectedUuid); }
public UUID get() { return uuid; }
CassandraMessageId implements MessageId { public UUID get() { return uuid; } }
CassandraMessageId implements MessageId { public UUID get() { return uuid; } private  CassandraMessageId(UUID uuid); }
CassandraMessageId implements MessageId { public UUID get() { return uuid; } private  CassandraMessageId(UUID uuid); @Override String serialize(); UUID get(); @Override boolean isSerializable(); @Override final boolean equals(Object o); @Override final int hashCode(); @Override String toString(); }
CassandraMessageId implements MessageId { public UUID get() { return uuid; } private  CassandraMessageId(UUID uuid); @Override String serialize(); UUID get(); @Override boolean isSerializable(); @Override final boolean equals(Object o); @Override final int hashCode(); @Override String toString();  }