Mailbox mailbox1 = AddressBuilder.DEFAULT.parseMailbox("JD <john.doe@acme.org>");
Mailbox mailbox2 = AddressBuilder.DEFAULT.parseMailbox("jane.doe@example.org");
Mailbox mailbox3 = AddressBuilder.DEFAULT.parseMailbox("Mary Smith <mary@example.net>");
Group group = new Group("The Does", mailbox1, mailbox2);
AddressListField field = Fields.replyTo(group);
assertEquals("Reply-To: The Does: JD <john.doe@acme.org>, "
+ "jane.doe@example.org;", decode(field));
field = Fields.replyTo(group, mailbox3);
assertEquals("Reply-To: The Does: JD <john.doe@acme.org>, "