SMSFactorTest   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 34
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 2
dl 0
loc 34
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 4 1
A getFacadeClass() 0 4 1
A getFacadeRoot() 0 4 1
1
<?php
2
3
/*
4
 * This file is part of Laravel SMSFactor.
5
 *
6
 * (c) Filippo Galante <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace IlGala\Tests\SMSFactor\Facades;
13
14
use IlGala\SMSFactor\SMSFactorManager;
15
use IlGala\SMSFactor\Facades\SMSFactor;
16
use GrahamCampbell\TestBenchCore\FacadeTrait;
17
use IlGala\Tests\SMSFactor\AbstractTestCase;
18
19
/**
20
 * This is the smsfactor facade test class.
21
 *
22
 * @author Filippo Galante <[email protected]>
23
 */
24
class SMSFactorTest extends AbstractTestCase
25
{
26
    use FacadeTrait;
27
28
    /**
29
     * Get the facade accessor.
30
     *
31
     * @return string
32
     */
33
    protected function getFacadeAccessor()
34
    {
35
        return 'smsfactor';
36
    }
37
38
    /**
39
     * Get the facade class.
40
     *
41
     * @return string
42
     */
43
    protected function getFacadeClass()
44
    {
45
        return SMSFactor::class;
46
    }
47
48
    /**
49
     * Get the facade root.
50
     *
51
     * @return string
52
     */
53
    protected function getFacadeRoot()
54
    {
55
        return SMSFactorManager::class;
56
    }
57
}
58