@Test void shouldAcceptMessageIdAndGiveTheRightString() { assertThat(new MessageIdDto(SAMPLE_ID).asString()) .isEqualTo(SAMPLE_ID_STRING); }
public String asString() { return messageId; }
MessageIdDto { public String asString() { return messageId; } }
MessageIdDto { public String asString() { return messageId; } MessageIdDto(String messageId);  MessageIdDto(MessageId messageId); }
MessageIdDto { public String asString() { return messageId; } MessageIdDto(String messageId);  MessageIdDto(MessageId messageId); MessageId instantiate(MessageId.Factory factory); String asString(); @Override final boolean equals(Object o); @Override final int hashCode(); @Override String toString(); }
MessageIdDto { public String asString() { return messageId; } MessageIdDto(String messageId);  MessageIdDto(MessageId messageId); MessageId instantiate(MessageId.Factory factory); String asString(); @Override final boolean equals(Object o); @Override final int hashCode(); @Override String toString();  }