|
@@ 480-489 (lines=10) @@
|
| 477 |
|
); |
| 478 |
|
} |
| 479 |
|
|
| 480 |
|
public function testBuildTo() |
| 481 |
|
{ |
| 482 |
|
$archangel = new Archangel(); |
| 483 |
|
$addressesProperty = $this->getProtectedProperty('toAddresses'); |
| 484 |
|
$addressesProperty->setValue($archangel, array('[email protected]')); |
| 485 |
|
$buildMethod = $this->getProtectedMethod('buildTo'); |
| 486 |
|
$toAddresses = $buildMethod->invoke($archangel); |
| 487 |
|
|
| 488 |
|
$this->assertEquals('[email protected]', $toAddresses); |
| 489 |
|
} |
| 490 |
|
|
| 491 |
|
public function testBuildToMultiple() |
| 492 |
|
{ |
|
@@ 491-500 (lines=10) @@
|
| 488 |
|
$this->assertEquals('[email protected]', $toAddresses); |
| 489 |
|
} |
| 490 |
|
|
| 491 |
|
public function testBuildToMultiple() |
| 492 |
|
{ |
| 493 |
|
$archangel = new Archangel(); |
| 494 |
|
$addressesProperty = $this->getProtectedProperty('toAddresses'); |
| 495 |
|
$addressesProperty->setValue($archangel, array('[email protected]', '[email protected]')); |
| 496 |
|
$buildMethod = $this->getProtectedMethod('buildTo'); |
| 497 |
|
$toAddresses = $buildMethod->invoke($archangel); |
| 498 |
|
|
| 499 |
|
$this->assertEquals('[email protected], [email protected]', $toAddresses); |
| 500 |
|
} |
| 501 |
|
|
| 502 |
|
public function testBuildPlainMessageHeader() |
| 503 |
|
{ |