@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | protected function seeEmailBcc($bcc, Swift_Message $message = null) |
| 98 | 98 | { |
| 99 | 99 | $this->assertArrayHasKey($bcc, (array)$this->getEmail($message) |
| 100 | - ->getBcc(), "The last email sent was not bcc'ed to $bcc."); |
|
| 100 | + ->getBcc(), "The last email sent was not bcc'ed to $bcc."); |
|
| 101 | 101 | |
| 102 | 102 | return $this; |
| 103 | 103 | } |
@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | protected function seeEmailCc($cc, Swift_Message $message = null) |
| 114 | 114 | { |
| 115 | 115 | $this->assertArrayHasKey($cc, (array)$this->getEmail($message) |
| 116 | - ->getCc(), "The last email sent was not cc'ed to $cc."); |
|
| 116 | + ->getCc(), "The last email sent was not cc'ed to $cc."); |
|
| 117 | 117 | |
| 118 | 118 | return $this; |
| 119 | 119 | } |
@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | protected function seeEmailContains($excerpt, Swift_Message $message = null) |
| 130 | 130 | { |
| 131 | 131 | $this->assertContains($excerpt, $this->getEmail($message) |
| 132 | - ->getBody(), "The last email sent did not contain the provided body."); |
|
| 132 | + ->getBody(), "The last email sent did not contain the provided body."); |
|
| 133 | 133 | |
| 134 | 134 | return $this; |
| 135 | 135 | } |
@@ -203,7 +203,7 @@ discard block |
||
| 203 | 203 | { |
| 204 | 204 | // TODO: Allow from to be an array to check email & name |
| 205 | 205 | $this->assertArrayHasKey($sender, (array)$this->getEmail($message) |
| 206 | - ->getFrom(), "The last email sent was not sent from $sender."); |
|
| 206 | + ->getFrom(), "The last email sent was not sent from $sender."); |
|
| 207 | 207 | |
| 208 | 208 | return $this; |
| 209 | 209 | } |
@@ -307,7 +307,7 @@ discard block |
||
| 307 | 307 | $this->assertContains( |
| 308 | 308 | $excerpt, |
| 309 | 309 | $this->getEmail($message) |
| 310 | - ->getSubject(), |
|
| 310 | + ->getSubject(), |
|
| 311 | 311 | "The last email sent did not contain the provided subject." |
| 312 | 312 | ); |
| 313 | 313 | |
@@ -347,7 +347,7 @@ discard block |
||
| 347 | 347 | $this->assertEquals( |
| 348 | 348 | $subject, |
| 349 | 349 | $this->getEmail($message) |
| 350 | - ->getSubject(), |
|
| 350 | + ->getSubject(), |
|
| 351 | 351 | "The last email sent did not contain a subject of $subject." |
| 352 | 352 | ); |
| 353 | 353 | |
@@ -365,7 +365,7 @@ discard block |
||
| 365 | 365 | protected function seeEmailTo($recipient, Swift_Message $message = null) |
| 366 | 366 | { |
| 367 | 367 | $this->assertArrayHasKey($recipient, (array)$this->getEmail($message) |
| 368 | - ->getTo(), "The last email sent was not sent to $recipient."); |
|
| 368 | + ->getTo(), "The last email sent was not sent to $recipient."); |
|
| 369 | 369 | |
| 370 | 370 | return $this; |
| 371 | 371 | } |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | */ |
| 97 | 97 | protected function seeEmailBcc($bcc, Swift_Message $message = null) |
| 98 | 98 | { |
| 99 | - $this->assertArrayHasKey($bcc, (array)$this->getEmail($message) |
|
| 99 | + $this->assertArrayHasKey($bcc, (array) $this->getEmail($message) |
|
| 100 | 100 | ->getBcc(), "The last email sent was not bcc'ed to $bcc."); |
| 101 | 101 | |
| 102 | 102 | return $this; |
@@ -112,7 +112,7 @@ discard block |
||
| 112 | 112 | */ |
| 113 | 113 | protected function seeEmailCc($cc, Swift_Message $message = null) |
| 114 | 114 | { |
| 115 | - $this->assertArrayHasKey($cc, (array)$this->getEmail($message) |
|
| 115 | + $this->assertArrayHasKey($cc, (array) $this->getEmail($message) |
|
| 116 | 116 | ->getCc(), "The last email sent was not cc'ed to $cc."); |
| 117 | 117 | |
| 118 | 118 | return $this; |
@@ -202,7 +202,7 @@ discard block |
||
| 202 | 202 | protected function seeEmailFrom($sender, Swift_Message $message = null) |
| 203 | 203 | { |
| 204 | 204 | // TODO: Allow from to be an array to check email & name |
| 205 | - $this->assertArrayHasKey($sender, (array)$this->getEmail($message) |
|
| 205 | + $this->assertArrayHasKey($sender, (array) $this->getEmail($message) |
|
| 206 | 206 | ->getFrom(), "The last email sent was not sent from $sender."); |
| 207 | 207 | |
| 208 | 208 | return $this; |
@@ -243,7 +243,7 @@ discard block |
||
| 243 | 243 | { |
| 244 | 244 | $this->assertArrayHasKey( |
| 245 | 245 | $reply_to, |
| 246 | - (array)$this->getEmail($message) |
|
| 246 | + (array) $this->getEmail($message) |
|
| 247 | 247 | ->getReplyTo(), |
| 248 | 248 | "The last email sent was not set to reply to $reply_to." |
| 249 | 249 | ); |
@@ -364,7 +364,7 @@ discard block |
||
| 364 | 364 | */ |
| 365 | 365 | protected function seeEmailTo($recipient, Swift_Message $message = null) |
| 366 | 366 | { |
| 367 | - $this->assertArrayHasKey($recipient, (array)$this->getEmail($message) |
|
| 367 | + $this->assertArrayHasKey($recipient, (array) $this->getEmail($message) |
|
| 368 | 368 | ->getTo(), "The last email sent was not sent to $recipient."); |
| 369 | 369 | |
| 370 | 370 | return $this; |