@@ -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; |
@@ -196,7 +196,7 @@ discard block |
||
196 | 196 | protected function seeEmailFrom($sender, Swift_Message $message = null) |
197 | 197 | { |
198 | 198 | // TODO: Allow from to be an array to check email & name |
199 | - $this->assertArrayHasKey($sender, (array)$this->getEmail($message) |
|
199 | + $this->assertArrayHasKey($sender, (array) $this->getEmail($message) |
|
200 | 200 | ->getFrom(), "The last email sent was not sent from $sender."); |
201 | 201 | |
202 | 202 | return $this; |
@@ -232,7 +232,7 @@ discard block |
||
232 | 232 | */ |
233 | 233 | protected function seeEmailReplyTo($reply_to, Swift_Message $message = null) |
234 | 234 | { |
235 | - $this->assertArrayHasKey($reply_to, (array)$this->getEmail($message) |
|
235 | + $this->assertArrayHasKey($reply_to, (array) $this->getEmail($message) |
|
236 | 236 | ->getReplyTo(), |
237 | 237 | "The last email sent was not set to reply to $reply_to."); |
238 | 238 | |
@@ -343,7 +343,7 @@ discard block |
||
343 | 343 | */ |
344 | 344 | protected function seeEmailTo($recipient, Swift_Message $message = null) |
345 | 345 | { |
346 | - $this->assertArrayHasKey($recipient, (array)$this->getEmail($message) |
|
346 | + $this->assertArrayHasKey($recipient, (array) $this->getEmail($message) |
|
347 | 347 | ->getTo(), "The last email sent was not sent to $recipient."); |
348 | 348 | |
349 | 349 | return $this; |