public void NoAt()
 {
     Assert.Null(MailUtilities.GetMailboxFromAddress("box_example.com"));
 }
 public void SimpleMail()
 {
     Assert.Equal("*****@*****.**", MailUtilities.GetMailboxFromAddress("*****@*****.**"));
 }
 public void SimpleWithDisplayName()
 {
     Assert.Equal("*****@*****.**", MailUtilities.GetMailboxFromAddress("Target Human <*****@*****.**>"));
 }
 public void QuotedCrainess()
 {
     Assert.Equal(
         "*****@*****.**",
         MailUtilities.GetMailboxFromAddress("\"Target Human <*****@*****.**>\" <*****@*****.**>"));
 }