@Test void toInternetAddressesShouldThrowWhenMailAddressesIsNull() { assertThatThrownBy(() -> MailAddressUtils.toInternetAddresses(null)) .isInstanceOf(NullPointerException.class); }
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);  }