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