Completed
Push — master ( 2f0783...0fb3d7 )
by Markus
03:33
created

ArrayStorageTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
c 1
b 0
f 1
lcom 0
cbo 3
dl 0
loc 16
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A testInfo() 0 11 1
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