Beispiel #1
0
 public function testEmailSends()
 {
     // Note this test only confirms the email has made it to the provider.
     $email = new SimpleEmail();
     $email->AddRecipient("*****@*****.**")->SetText("This is a test email")->Send();
     $lastEmail = UnitTestingEmailProvider::GetLastEmail();
     $this->assertEquals($email, $lastEmail);
 }