Completed
Push — master ( e02663...d0fd6d )
by Kazi Mainuddin
01:54
created

HelpersTest::testHelperExists()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Tzsk\Sms\Tests;
4
5
class HelpersTest extends TestCase
0 ignored issues
show
Bug introduced by
There is at least one abstract method in this class. Maybe declare it as abstract, or implement the remaining methods: artisan, be, call, seed
Loading history...
6
{
7
    public function testHelperExists()
8
    {
9
        $this->assertTrue(function_exists('sms'));
10
    }
11
12
    public function testHelperReturnsCorrectInstance()
13
    {
14
        $sms = app('tzsk-sms');
15
        $this->assertTrue(sms() instanceof $sms);
16
    }
17
}
18