Test Failed
Pull Request — develop (#12)
by
unknown
02:48
created

MobileStatusResultTest   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 28
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 3

Importance

Changes 0
Metric Value
wmc 4
c 0
b 0
f 0
lcom 1
cbo 3
dl 0
loc 28
rs 10

4 Methods

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 4 1
A testItExtendsAbstractStatusClass() 0 4 1
A testStatusInterface() 0 4 1
A expectedFields() 0 6 1
1
<?php
2
namespace Isign\Tests\Login;
3
4
use Isign\Login\MobileStatusResult;
5
use Isign\QueryInterface;
6
use Isign\Tests\TestCase;
7
use Isign\Tests\TestResultFieldsTrait;
8
9
class MobileStatusResultTest extends TestCase
10
{
11
    private $method;
12
    
13
    public function setUp()
14
    {
15
        $this->method = new MobileStatusResult();
16
    }
17
    
18
    public function testItExtendsAbstractStatusClass()
19
    {
20
        $this->assertInstanceOf('Isign\Login\AbstractStatusResult', $this->method);
21
    }
22
23
    public function testStatusInterface()
24
    {
25
        $this->assertInstanceOf('Isign\StatusResultInterface', $this->method);
26
    }
27
28
    use TestResultFieldsTrait;
29
30
    public function expectedFields()
31
    {
32
        return [
33
            ['status'],
34
        ];
35
    }
36
}
37