|
@@ 432-441 (lines=10) @@
|
| 429 |
|
); |
| 430 |
|
} |
| 431 |
|
|
| 432 |
|
public function testBuildTo() |
| 433 |
|
{ |
| 434 |
|
$archangel = new Archangel(); |
| 435 |
|
$addressesProperty = $this->getProtectedProperty('toAddresses'); |
| 436 |
|
$addressesProperty->setValue($archangel, array('[email protected]')); |
| 437 |
|
$buildMethod = $this->getProtectedMethod('buildTo'); |
| 438 |
|
$toAddresses = $buildMethod->invoke($archangel); |
| 439 |
|
|
| 440 |
|
$this->assertEquals('[email protected]', $toAddresses); |
| 441 |
|
} |
| 442 |
|
|
| 443 |
|
public function testBuildToMultiple() |
| 444 |
|
{ |
|
@@ 443-452 (lines=10) @@
|
| 440 |
|
$this->assertEquals('[email protected]', $toAddresses); |
| 441 |
|
} |
| 442 |
|
|
| 443 |
|
public function testBuildToMultiple() |
| 444 |
|
{ |
| 445 |
|
$archangel = new Archangel(); |
| 446 |
|
$addressesProperty = $this->getProtectedProperty('toAddresses'); |
| 447 |
|
$addressesProperty->setValue($archangel, array('[email protected]', '[email protected]')); |
| 448 |
|
$buildMethod = $this->getProtectedMethod('buildTo'); |
| 449 |
|
$toAddresses = $buildMethod->invoke($archangel); |
| 450 |
|
|
| 451 |
|
$this->assertEquals('[email protected], [email protected]', $toAddresses); |
| 452 |
|
} |
| 453 |
|
|
| 454 |
|
public function testGetBoundary() |
| 455 |
|
{ |