@@ 165-172 (lines=8) @@ | ||
162 | $this->assertArraySubset(array('From' => '"Mr. Test Alot" <[email protected]>'), $setHeaders); |
|
163 | } |
|
164 | ||
165 | public function testSetReplyTo() |
|
166 | { |
|
167 | $archangel = new Archangel(); |
|
168 | $archangel->setReplyTo('[email protected]'); |
|
169 | $setHeaders = $this->getProtectedValue($archangel, 'headers'); |
|
170 | ||
171 | $this->assertArraySubset(array('Reply-To' => '[email protected]'), $setHeaders); |
|
172 | } |
|
173 | ||
174 | public function testSetReplyToMultiple() |
|
175 | { |
|
@@ 185-192 (lines=8) @@ | ||
182 | $this->assertNotContains('[email protected]', $setHeaders); |
|
183 | } |
|
184 | ||
185 | public function testSetReplyToWithTitle() |
|
186 | { |
|
187 | $archangel = new Archangel(); |
|
188 | $archangel->setReplyTo('[email protected]', 'Mr. Test Alot'); |
|
189 | $setHeaders = $this->getProtectedValue($archangel, 'headers'); |
|
190 | ||
191 | $this->assertArraySubset(array('Reply-To' => '"Mr. Test Alot" <[email protected]>'), $setHeaders); |
|
192 | } |
|
193 | ||
194 | public function testSetSubject() |
|
195 | { |