ArrayStorageTest::testInfo()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 11

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 11
rs 9.9
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
namespace Mathielen\ImportEngine\Storage;
3
4
class ArrayStorageTest extends \PHPUnit_Framework_TestCase
5
{
6
7
    public function testInfo()
8
    {
9
        $a = [];
10
        $storage = new ArrayStorage($a);
11
12
        $this->assertEquals(new StorageInfo([
13
            'name' => 'Array Storage',
14
            'format' => 'Array Storage',
15
            'count' => 0
16
        ]), $storage->info());
17
    }
18
19
}
20