Code Duplication    Length = 20-20 lines in 2 locations

tests/Document/SealResultTest.php 1 location

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

tests/Sign/ScResultTest.php 1 location

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