Code Duplication    Length = 19-19 lines in 3 locations

tests/Sign/MobileStatusResultTest.php 1 location

@@ 9-27 (lines=19) @@
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
    use TestResultFieldsTrait;
19
20
    public function expectedFields()
21
    {
22
        return [
23
            ['status'],
24
            ['file'],
25
        ];
26
    }
27
}
28

tests/Document/ArchiveResultTest.php 1 location

@@ 10-28 (lines=19) @@
7
use Isign\Tests\TestCase;
8
use Isign\Tests\TestResultFieldsTrait;
9
10
class ArchiveResultTest extends TestCase
11
{
12
    private $method;
13
14
    public function setUp()
15
    {
16
        $this->method = new ArchiveResult();
17
    }
18
19
    use TestResultFieldsTrait;
20
21
    public function expectedFields()
22
    {
23
        return [
24
            ['status'],
25
            ['file']
26
        ];
27
    }
28
}
29

tests/Document/TimestampResultTest.php 1 location

@@ 11-29 (lines=19) @@
8
use Isign\Tests\TestCase;
9
use Isign\Tests\TestResultFieldsTrait;
10
11
class TimestampResultTest extends TestCase
12
{
13
    private $method;
14
15
    public function setUp()
16
    {
17
        $this->method = new TimestampResult();
18
    }
19
20
    use TestResultFieldsTrait;
21
22
    public function expectedFields()
23
    {
24
        return [
25
            ['status'],
26
            ['file']
27
        ];
28
    }
29
}
30