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

testItExtendsAbstractStatusClass()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
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