Passed
Push — master ( 1877a1...37d1bb )
by Gabriel
10:54
created

ChannelManagerTest::testDriverMailDb()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 3
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 6
rs 10
1
<?php
2
3
namespace ByTIC\Notifier\Tests\Legacy\Notifications;
4
5
use ByTIC\Notifications\ChannelManager;
6
use ByTIC\Notifications\Channels\EmailDbChannel;
7
use ByTIC\Notifier\Tests\AbstractTest;
8
9
/**
10
 * Class ChannelManagerTest
11
 * @package ByTIC\Notifications\Tests
12
 */
13
class ChannelManagerTest extends AbstractTest
14
{
15
    public function testDriverMailDb()
16
    {
17
        $manager = new ChannelManager();
18
        
19
        $channel = $manager->channel('emailDb');
20
        $this->assertInstanceOf(EmailDbChannel::class, $channel);
21
    }
22
}
23