@Test void convertToString() throws Exception { InternetAddress[] addresses = new InternetAddress[2]; addresses[0] = new InternetAddress("John Doe(comment) <john1@doe.com>"); addresses[1] = new InternetAddress("john2@doe.com"); assertEquals("\"John Doe(comment)\" <john1@doe.com>, john2@doe.com", this.converter.convertToString(addresses)); }
@Override protected String convertToString(Address[] value) { return InternetAddress.toString(value); }
AddressesConverter extends AbstractConverter<Address[]> { @Override protected String convertToString(Address[] value) { return InternetAddress.toString(value); } }
AddressesConverter extends AbstractConverter<Address[]> { @Override protected String convertToString(Address[] value) { return InternetAddress.toString(value); }  }
AddressesConverter extends AbstractConverter<Address[]> { @Override protected String convertToString(Address[] value) { return InternetAddress.toString(value); }   }
AddressesConverter extends AbstractConverter<Address[]> { @Override protected String convertToString(Address[] value) { return InternetAddress.toString(value); }    }