@@ -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(), "No email was bcc'ed to $bcc."); |
|
100 | + ->getBcc(), "No email was 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(), "No email was cc'ed to $cc."); |
|
116 | + ->getCc(), "No email was 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(), "No email containing the provided body was found."); |
|
132 | + ->getBody(), "No email containing the provided body was found."); |
|
133 | 133 | |
134 | 134 | return $this; |
135 | 135 | } |
@@ -178,7 +178,7 @@ discard block |
||
178 | 178 | { |
179 | 179 | // TODO: Allow from to be an array to check email & name |
180 | 180 | $this->assertArrayHasKey($sender, (array)$this->getEmail($message) |
181 | - ->getFrom(), "No email was sent from $sender."); |
|
181 | + ->getFrom(), "No email was sent from $sender."); |
|
182 | 182 | |
183 | 183 | return $this; |
184 | 184 | } |
@@ -227,7 +227,7 @@ discard block |
||
227 | 227 | { |
228 | 228 | // TODO: Consider a subject contains like the message contains |
229 | 229 | $this->assertEquals($subject, $this->getEmail($message) |
230 | - ->getSubject(), "No email with a subject of $subject was found."); |
|
230 | + ->getSubject(), "No email with a subject of $subject was found."); |
|
231 | 231 | |
232 | 232 | return $this; |
233 | 233 | } |
@@ -243,7 +243,7 @@ discard block |
||
243 | 243 | protected function seeEmailTo($recipient, Swift_Message $message = null) |
244 | 244 | { |
245 | 245 | $this->assertArrayHasKey($recipient, (array)$this->getEmail($message) |
246 | - ->getTo(), "No email was sent to $recipient."); |
|
246 | + ->getTo(), "No email was sent to $recipient."); |
|
247 | 247 | |
248 | 248 | return $this; |
249 | 249 | } |
@@ -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(), "No email was 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(), "No email was cc'ed to $cc."); |
117 | 117 | |
118 | 118 | return $this; |
@@ -177,7 +177,7 @@ discard block |
||
177 | 177 | protected function seeEmailFrom($sender, Swift_Message $message = null) |
178 | 178 | { |
179 | 179 | // TODO: Allow from to be an array to check email & name |
180 | - $this->assertArrayHasKey($sender, (array)$this->getEmail($message) |
|
180 | + $this->assertArrayHasKey($sender, (array) $this->getEmail($message) |
|
181 | 181 | ->getFrom(), "No email was sent from $sender."); |
182 | 182 | |
183 | 183 | return $this; |
@@ -193,7 +193,7 @@ discard block |
||
193 | 193 | */ |
194 | 194 | protected function seeEmailReplyTo($reply_to, Swift_Message $message = null) |
195 | 195 | { |
196 | - $this->assertArrayHasKey($reply_to, (array)$this->getEmail($message) |
|
196 | + $this->assertArrayHasKey($reply_to, (array) $this->getEmail($message) |
|
197 | 197 | ->getReplyTo(), "No email was set to reply to $reply_to."); |
198 | 198 | |
199 | 199 | return $this; |
@@ -242,7 +242,7 @@ discard block |
||
242 | 242 | */ |
243 | 243 | protected function seeEmailTo($recipient, Swift_Message $message = null) |
244 | 244 | { |
245 | - $this->assertArrayHasKey($recipient, (array)$this->getEmail($message) |
|
245 | + $this->assertArrayHasKey($recipient, (array) $this->getEmail($message) |
|
246 | 246 | ->getTo(), "No email was sent to $recipient."); |
247 | 247 | |
248 | 248 | return $this; |