Passed
Branch develop (84afed)
by Paulius
02:35
created

AddSignerResultTest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 7
dl 0
loc 16
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 3 1
A expectedFields() 0 5 1
1
<?php
2
namespace Dokobit\Gateway\Tests\Result\Signing;
3
4
use Dokobit\Gateway\Result\Signing\AddSignerResult;
5
use Dokobit\Gateway\Tests\TestCase;
6
use Dokobit\Gateway\Tests\Result\TestResultFieldsTrait;
7
8
class AddSignerResultTest extends TestCase
9
{
10
    private $method;
11
12
    protected function setUp(): void
13
    {
14
        $this->method = new AddSignerResult();
15
    }
16
17
    use TestResultFieldsTrait;
18
19
    public function expectedFields()
20
    {
21
        return [
22
            ['status'],
23
            ['signers', ['foo' => 'bar']],
24
        ];
25
    }
26
}
27