Completed
Push — master ( 38c8ff...90c00b )
by Dmitry
01:29
created

MapSpec::constructorBehavior()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 4
nc 1
nop 0
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
1
<?php
2
3
namespace PHPKitchen\Platform\Specs\Unit\Collection;
4
5
use PHPKitchen\Platform\Collection\Map;
6
use PHPKitchen\Platform\Specs\Base\Spec;
7
8
/**
9
 * Specification for {@link Map}
10
 *
11
 * @author Dmitry Kolodko <[email protected]>
12
 */
13
class MapSpec extends Spec {
14
    /**
15
     * @test
16
     */
17
    public function constructorBehavior() {
18
        $map = Map::from([]);
19
        $this->tester->seeBool($map->isNull())
20
                     ->isFalse();
21
    }
22
}