assertEquals(0, parser.parseAddressList(" \t \t ").size());
assertEquals(0, parser.parseAddressList(" \t , , , ,,, , \t ").size());
}
public void testSimpleForm() throws Exception {
AddressList addrList = parser.parseAddressList("\"a b c d e f g\" (comment) @example.net");
assertEquals(1, addrList.size());
Mailbox mailbox = (Mailbox)addrList.get(0);
assertEquals("a b c d e f g", mailbox.getLocalPart());
assertEquals("example.net", mailbox.getDomain());
}