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

HelpersTest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 13
rs 10
c 0
b 0
f 0
wmc 2
lcom 0
cbo 1

2 Methods

Rating   Name   Duplication   Size   Complexity  
A testHelperExists() 0 4 1
A testHelperReturnsCorrectInstance() 0 5 1
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