Total Complexity | 4 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | class IsEmptyTest extends TestCase |
||
9 | { |
||
10 | public function testIsEmptyWithNull() |
||
11 | { |
||
12 | $actual = isEmpty()(null); |
||
13 | $this->assertTrue($actual); |
||
14 | } |
||
15 | public function testIsEmptyWithEmptyArray() |
||
16 | { |
||
17 | $actual = isEmpty()([]); |
||
18 | $this->assertTrue($actual); |
||
19 | } |
||
20 | public function testIsEmptyWithNonEmptyArray() |
||
24 | } |
||
25 | public function testIsEmptyWithStdClass() |
||
29 | } |
||
30 | } |
||
31 |