diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2018-09-26 21:28:49 +0200 |
---|---|---|
committer | Igor Scheller <igor.scheller@igorshp.de> | 2018-09-26 21:31:18 +0200 |
commit | 6187eed3bb08f200050a3078bd762b5731dfbe78 (patch) | |
tree | 06e0b08294c66449ed5f9f046a3bfe2097c7b4ad /tests/Unit/Mail/Transport/Stub/TransportImplementation.php | |
parent | bc5764b33ffc8a92dfa1d788ba2a204dd991c3d9 (diff) | |
parent | d36de2d26f5af76d5d4f34f8620694c6d0368983 (diff) |
Merge remote-tracking branch 'MyIgel/mailing'
Diffstat (limited to 'tests/Unit/Mail/Transport/Stub/TransportImplementation.php')
-rw-r--r-- | tests/Unit/Mail/Transport/Stub/TransportImplementation.php | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/Unit/Mail/Transport/Stub/TransportImplementation.php b/tests/Unit/Mail/Transport/Stub/TransportImplementation.php new file mode 100644 index 00000000..e3667c6e --- /dev/null +++ b/tests/Unit/Mail/Transport/Stub/TransportImplementation.php @@ -0,0 +1,35 @@ +<?php + +namespace Engelsystem\Test\Unit\Mail\Transport\Stub; + +use Engelsystem\Mail\Transport\Transport; +use Swift_Mime_SimpleMessage as SimpleMessage; + +class TransportImplementation extends Transport +{ + /** + * {@inheritdoc} + */ + public function send(SimpleMessage $message, &$failedRecipients = null) + { + return 0; + } + + /** + * @param SimpleMessage $message + * @return array + */ + public function getAllRecipients(SimpleMessage $message) + { + return $this->allRecipients($message); + } + + /** + * @param SimpleMessage $message + * @return string + */ + public function getGetTo(SimpleMessage $message) + { + return $this->getTo($message); + } +} |