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

ChannelManagerTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 8
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A testDriverMailDb() 0 6 1
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