Code Duplication    Length = 19-19 lines in 3 locations

tests/Document/ArchiveResultTest.php 1 location

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

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/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