Completed
Push — master ( e4df1e...62d010 )
by David
03:19
created

testSanitizerHelperCanBeInstantiated()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 6
rs 9.4285
cc 1
eloc 4
nc 1
nop 0
1
<?php
2
3
namespace Test\Helpers;
4
5
use Test\TestCase;
6
use Taskforcedev\LaravelForum\Helpers\Sanitizer as SanitizerHelper;
7
8
class SanitizerHelperTest extends TestCase
9
{
10
    public function testSanitizerHelperCanBeInstantiated()
11
    {
12
        $helper = new SanitizerHelper();
13
        $class = get_class($helper);
14
        $this->assertEquals('Taskforcedev\LaravelForum\Helpers\Sanitizer', $class, 'Sanitizer helper should return the correct class.');
15
    }
16
}