3 namespace Tests\Wallabag\UserBundle\Mailer
;
6 * @see https://www.pmg.com/blog/integration-testing-swift-mailer/
8 final class CountableMemorySpool
extends \Swift_MemorySpool
implements \Countable
10 public function count()
12 return \
count($this->messages
);
15 public function getMessages()
17 return $this->messages
;