void () { String content = "*".repeat(1024); Attachment attachment = new Attachment("pure text.txt", content); assertThat(attachment.getDisplayText()).isEqualTo(content); assertThat(attachment.getBytes()).isEqualTo(content.getBytes(StandardCharsets.UTF_8)); }