Completed
Push — develop ( d0e808...84afed )
by
unknown
17s queued 14s
created

ArchiveResultTest::expectedFields()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
namespace Dokobit\Gateway\Tests\Result\File;
3
4
use Dokobit\Gateway\Result\File\ArchiveResult;
5
use Dokobit\Gateway\Tests\TestCase;
6
use Dokobit\Gateway\Tests\Result\TestResultFieldsTrait;
7
8
class ArchiveResultTest extends TestCase
9
{
10
    private $method;
11
12
    protected function setUp(): void
13
    {
14
        $this->method = new ArchiveResult();
15
    }
16
17
    use TestResultFieldsTrait;
18
19
    public function expectedFields()
20
    {
21
        return [
22
            ['status'],
23
            ['file', ['key1' => 'value1']],
24
            ['structure', ['key2' => 'value2']],
25
        ];
26
    }
27
}
28