| Total Complexity | 2 |
| Total Lines | 52 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class QueueTransportTest extends TestCase |
||
| 12 | { |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Fixtures to load |
||
| 16 | * |
||
| 17 | * @var array |
||
| 18 | */ |
||
| 19 | public $fixtures = [ |
||
| 20 | 'plugin.Queue.QueuedTasks' |
||
| 21 | ]; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * |
||
| 25 | * @var \Queue\Mailer\Transport\QueueTransport |
||
| 26 | */ |
||
| 27 | protected $QueueTransport; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Setup |
||
| 31 | * |
||
| 32 | * @return void |
||
| 33 | */ |
||
| 34 | public function setUp() |
||
| 35 | { |
||
| 36 | parent::setUp(); |
||
| 37 | $this->QueueTransport = new QueueTransport(); |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * TestSend method |
||
| 42 | * |
||
| 43 | * @return void |
||
| 44 | */ |
||
| 45 | public function testSendWithEmail() |
||
| 63 | |||
| 64 | // $output = unserialize($result['data']); |
||
| 68 |