IntegerListTest::getInvalidParameters()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 10

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 10
rs 9.9332
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
namespace Test\Vehsamrak\ListCollection;
3
4
use Vehsamrak\ListCollection\IntegerList;
5
6
class IntegerListTest extends AbstractListTest
7
{
8
    protected function getListClassName(): string
9
    {
10
        return IntegerList::class;
11
    }
12
13
    public function getValidParameters()
14
    {
15
        return [
16
            [[]],
17
            [[1]],
18
            [[1,2]],
19
            [[1,2,3]],
20
        ];
21
    }
22
23
    public function getInvalidParameters()
24
    {
25
        return [
26
            [[1.1]],
27
            [['string']],
28
            [[1, 'string']],
29
            [[new self()]],
30
            [[true]],
31
        ];
32
    }
33
}
34