"\"M. Ranganathan\" <sip:mranga@nist.gov>",
"<sip:+1-650-555-2222@ss1.wcom.com;user=phone>",
"M. Ranganathan <sip:mranga@nist.gov>" };
try {
for (int i = 0; i < addresses.length; i++) {
AddressParser addressParser = new AddressParser(addresses[i]);
AddressImpl addr = addressParser.address(true);
assertEquals(addr, new AddressParser(addr.encode()).address(true));
}
} catch (ParseException ex) {
fail(this.getClass().getName());
}
// Non regression test for Issue 316 : createAddress can add spurious angle brackets