@Test void toInternetAddressesShouldReturnOneInternetAddressWhenOneMailAddress() throws Exception { List<InternetAddress> internetAddresses = MailAddressUtils.toInternetAddresses(ImmutableList.of(new MailAddress("user", "james.org"))); assertThat(internetAddresses).containsOnly(new InternetAddress("user@james.org")); }
public static List<InternetAddress> toInternetAddresses(List<MailAddress> mailAddresses) { return streamOfInternetAddress(mailAddresses) .collect(Guavate.toImmutableList()); }
MailAddressUtils { public static List<InternetAddress> toInternetAddresses(List<MailAddress> mailAddresses) { return streamOfInternetAddress(mailAddresses) .collect(Guavate.toImmutableList()); } }
MailAddressUtils { public static List<InternetAddress> toInternetAddresses(List<MailAddress> mailAddresses) { return streamOfInternetAddress(mailAddresses) .collect(Guavate.toImmutableList()); }  }
MailAddressUtils { public static List<InternetAddress> toInternetAddresses(List<MailAddress> mailAddresses) { return streamOfInternetAddress(mailAddresses) .collect(Guavate.toImmutableList()); }  static List<MailAddress> from(InternetAddress[] internetAddresses); static List<InternetAddress> toInternetAddresses(List<MailAddress> mailAddresses); static InternetAddress[] toInternetAddressArray(List<MailAddress> mailAddresses); static boolean isUnalteredOrReversePathOrSender(MailAddress mailAddress); }
MailAddressUtils { public static List<InternetAddress> toInternetAddresses(List<MailAddress> mailAddresses) { return streamOfInternetAddress(mailAddresses) .collect(Guavate.toImmutableList()); }  static List<MailAddress> from(InternetAddress[] internetAddresses); static List<InternetAddress> toInternetAddresses(List<MailAddress> mailAddresses); static InternetAddress[] toInternetAddressArray(List<MailAddress> mailAddresses); static boolean isUnalteredOrReversePathOrSender(MailAddress mailAddress);  }