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

AddSignerResultTest::setUp()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

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