Search in sources :

Example 6 with MailMessage

use of com.google.gerrit.server.mail.receive.MailMessage in project gerrit by GerritCodeReview.

the class QuotedPrintableHeaderMessage method expectedMailMessage.

@Override
public MailMessage expectedMailMessage() {
    System.out.println("😛 test");
    MailMessage.Builder expect = MailMessage.builder();
    expect.id("<001a114da7ae26e2eb053fe0c29c@google.com>").from(new Address("Jonathan Nieder (Gerrit)", "noreply-gerritcodereview-CtTy0igsBrnvL7dKoWEIEg@google.com")).addTo(new Address("ekempin", "ekempin@google.com")).textContent(textContent).subject("âme vulgaire").dateReceived(new DateTime(2016, 10, 25, 9, 11, 35, 0, DateTimeZone.UTC));
    return expect.build();
}
Also used : MailMessage(com.google.gerrit.server.mail.receive.MailMessage) Address(com.google.gerrit.server.mail.Address) DateTime(org.joda.time.DateTime)

Aggregations

Address (com.google.gerrit.server.mail.Address)6 MailMessage (com.google.gerrit.server.mail.receive.MailMessage)6 DateTime (org.joda.time.DateTime)6