@Test public void withCcAndBcc() { Assert.assertEquals( MailToUri.builder() .to(EmailAddress.builder().email(EXAMPLE_ADDRESS_ALPHA).build()) .cc(EmailAddress.builder().email(EXAMPLE_ADDRESS_BETA).build()) .cc(EmailAddress.builder().email(EXAMPLE_ADDRESS_GAMMA).build()) .bcc((EmailAddress.builder().email(EXAMPLE_ADDRESS_DELTA).build())) .subject(EXAMPLE_SUBJECT) .build(), MailToUri.get(String.format( "mailto:%s?cc=%s,%s&bcc=%s&subject=%s", EXAMPLE_ADDRESS_ALPHA, EXAMPLE_ADDRESS_BETA, EXAMPLE_ADDRESS_GAMMA, EXAMPLE_ADDRESS_DELTA, EXAMPLE_SUBJECT) ) ); }
@Nonnull public static MailToUri get(final String input) throws IllegalArgumentException { return get(input, true); }
MailToUri { @Nonnull public static MailToUri get(final String input) throws IllegalArgumentException { return get(input, true); } }
MailToUri { @Nonnull public static MailToUri get(final String input) throws IllegalArgumentException { return get(input, true); }  }
MailToUri { @Nonnull public static MailToUri get(final String input) throws IllegalArgumentException { return get(input, true); }  @Nullable static MailToUri parse(final String input); @Nonnull static MailToUri get(final String input); @Nonnull static MailToUri get(final String input, final boolean stripNames); }
MailToUri { @Nonnull public static MailToUri get(final String input) throws IllegalArgumentException { return get(input, true); }  @Nullable static MailToUri parse(final String input); @Nonnull static MailToUri get(final String input); @Nonnull static MailToUri get(final String input, final boolean stripNames);  }