@@ 506-515 (lines=10) @@ | ||
503 | ); |
|
504 | } |
|
505 | ||
506 | public function testBuildTo() |
|
507 | { |
|
508 | $archangel = new Archangel(); |
|
509 | $addressesProperty = $this->getProtectedProperty('toAddresses'); |
|
510 | $addressesProperty->setValue($archangel, array('[email protected]')); |
|
511 | $buildMethod = $this->getProtectedMethod('buildTo'); |
|
512 | $toAddresses = $buildMethod->invoke($archangel); |
|
513 | ||
514 | $this->assertEquals('[email protected]', $toAddresses); |
|
515 | } |
|
516 | ||
517 | public function testBuildToMultiple() |
|
518 | { |
|
@@ 517-526 (lines=10) @@ | ||
514 | $this->assertEquals('[email protected]', $toAddresses); |
|
515 | } |
|
516 | ||
517 | public function testBuildToMultiple() |
|
518 | { |
|
519 | $archangel = new Archangel(); |
|
520 | $addressesProperty = $this->getProtectedProperty('toAddresses'); |
|
521 | $addressesProperty->setValue($archangel, array('[email protected]', '[email protected]')); |
|
522 | $buildMethod = $this->getProtectedMethod('buildTo'); |
|
523 | $toAddresses = $buildMethod->invoke($archangel); |
|
524 | ||
525 | $this->assertEquals('[email protected], [email protected]', $toAddresses); |
|
526 | } |
|
527 | ||
528 | public function testBuildMessageEmpty() |
|
529 | { |