Total Complexity | 3 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
11 | class FortySixElksChannelTest extends \PHPUnit_Framework_TestCase |
||
12 | { |
||
13 | protected $dispatcher; |
||
14 | |||
15 | protected $channel; |
||
16 | |||
17 | protected $notifiable; |
||
18 | |||
19 | protected $notification; |
||
20 | |||
21 | protected $smsMessage; |
||
22 | |||
23 | public function setUp() |
||
24 | { |
||
25 | parent::setUp(); |
||
26 | $this->dispatcher = new \Illuminate\Events\Dispatcher(); |
||
27 | |||
28 | $this->channel = new FortySixElksChannel($this->dispatcher); |
||
29 | |||
30 | $this->smsMessage = Mockery::mock(FortySixElksSMS::class); |
||
31 | |||
32 | $this->notifiable = new TestNotifiable(); |
||
33 | |||
34 | $this->notification = new TestNotification($this->smsMessage); |
||
35 | } |
||
36 | |||
37 | public function testItCanBeInstantiatedTest() |
||
38 | { |
||
39 | $this->assertInstanceOf(FortySixElksChannel::class, $this->channel); |
||
40 | } |
||
41 | |||
42 | public function testCanSendNotification() |
||
52 | } |
||
53 | } |
||
54 | |||
72 |