@Test void buildShouldReturnDeletedMessageWithSubject() { assertThat(DELETED_MESSAGE_WITH_SUBJECT.getSubject()).contains(SUBJECT); }
public Optional<String> getSubject() { return subject; }
DeletedMessage { public Optional<String> getSubject() { return subject; } }
DeletedMessage { public Optional<String> getSubject() { return subject; } DeletedMessage(MessageId messageId, List<MailboxId> originMailboxes, Username owner,
                          ZonedDateTime deliveryDate, ZonedDateTime deletionDate, MaybeSender sender, List<MailAddress> recipients,
                          Optional<String> subject, boolean hasAttachment, long size); }
DeletedMessage { public Optional<String> getSubject() { return subject; } DeletedMessage(MessageId messageId, List<MailboxId> originMailboxes, Username owner,
                          ZonedDateTime deliveryDate, ZonedDateTime deletionDate, MaybeSender sender, List<MailAddress> recipients,
                          Optional<String> subject, boolean hasAttachment, long size); static RequireMetadata<FinalStage> builder(); MessageId getMessageId(); List<MailboxId> getOriginMailboxes(); Username getOwner(); ZonedDateTime getDeliveryDate(); ZonedDateTime getDeletionDate(); MaybeSender getSender(); List<MailAddress> getRecipients(); Optional<String> getSubject(); boolean hasAttachment(); long getSize(); @Override final boolean equals(Object o); @Override final int hashCode(); @Override String toString(); }
DeletedMessage { public Optional<String> getSubject() { return subject; } DeletedMessage(MessageId messageId, List<MailboxId> originMailboxes, Username owner,
                          ZonedDateTime deliveryDate, ZonedDateTime deletionDate, MaybeSender sender, List<MailAddress> recipients,
                          Optional<String> subject, boolean hasAttachment, long size); static RequireMetadata<FinalStage> builder(); MessageId getMessageId(); List<MailboxId> getOriginMailboxes(); Username getOwner(); ZonedDateTime getDeliveryDate(); ZonedDateTime getDeletionDate(); MaybeSender getSender(); List<MailAddress> getRecipients(); Optional<String> getSubject(); boolean hasAttachment(); long getSize(); @Override final boolean equals(Object o); @Override final int hashCode(); @Override String toString();  }