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

SanitizerHelperTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A testSanitizerHelperCanBeInstantiated() 0 6 1
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
}