@Test void fromShouldReturnOneMailAddressWhenOneInternetAddresse() throws Exception { List<MailAddress> mailAddresses = MailAddressUtils.from(InternetAddress.parse("user@james.org")); MailAddress expectedMailAddress = new MailAddress("user", "james.org"); assertThat(mailAddresses).containsOnly(expectedMailAddress); }
public static List<MailAddress> from(InternetAddress[] internetAddresses) throws AddressException { return from(ImmutableList.copyOf(internetAddresses)); }
MailAddressUtils { public static List<MailAddress> from(InternetAddress[] internetAddresses) throws AddressException { return from(ImmutableList.copyOf(internetAddresses)); } }
MailAddressUtils { public static List<MailAddress> from(InternetAddress[] internetAddresses) throws AddressException { return from(ImmutableList.copyOf(internetAddresses)); }  }
MailAddressUtils { public static List<MailAddress> from(InternetAddress[] internetAddresses) throws AddressException { return from(ImmutableList.copyOf(internetAddresses)); }  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<MailAddress> from(InternetAddress[] internetAddresses) throws AddressException { return from(ImmutableList.copyOf(internetAddresses)); }  static List<MailAddress> from(InternetAddress[] internetAddresses); static List<InternetAddress> toInternetAddresses(List<MailAddress> mailAddresses); static InternetAddress[] toInternetAddressArray(List<MailAddress> mailAddresses); static boolean isUnalteredOrReversePathOrSender(MailAddress mailAddress);  }