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

CollectionSpec   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 4

Importance

Changes 0
Metric Value
dl 0
loc 10
rs 10
c 0
b 0
f 0
wmc 1
lcom 1
cbo 4

1 Method

Rating   Name   Duplication   Size   Complexity  
A constructorBehavior() 0 5 1
1
<?php
2
3
namespace PHPKitchen\Platform\Specs\Unit\Collection;
4
5
use PHPKitchen\Platform\Collection\Collection;
6
use PHPKitchen\Platform\Specs\Base\Spec;
7
8
/**
9
 * Specification for {@link Collection}
10
 *
11
 * @author Dmitry Kolodko <[email protected]>
12
 */
13
class CollectionSpec extends Spec {
14
    /**
15
     * @test
16
     */
17
    public function constructorBehavior() {
18
        $collection = Collection::from([]);
19
        $this->tester->seeBool($collection->isNull())
20
                     ->isFalse();
21
    }
22
}