예제 #1
-1
 /**
  * @dataProvider getDateFormats
  */
 public function testDateQuoteHeader($date)
 {
     $email = $this->parser->parse(str_replace('[DATE]', $date, $this->getFixtures('email_with_date_headers.txt')));
     $this->assertEquals('Thank you very much.', $email->getVisibleText());
 }
예제 #2
-1
 /**
  * @param string $text An email as text.
  *
  * @return Email
  */
 public static function read($text)
 {
     $parser = new EmailParser();
     return $parser->parse($text);
 }