Passed
Push — master ( 886b6f...6b06c7 )
by Tomasz
03:21
created

CommandCollectionSpec::it_is_initializable()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 *
4
 * This file is part of the Aggrego.
5
 * (c) Tomasz Kunicki <[email protected]>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 *
10
 */
11
12
declare(strict_types = 1);
13
14
namespace spec\Aggrego\CommandLogicUnit\Shared\EventProcessor;
15
16
use Aggrego\CommandLogicUnit\EventProcessor\CommandCollection as CommandLogicUnitCommandCollection;
17
use Aggrego\CommandLogicUnit\Shared\EventProcessor\CommandCollection;
18
use PhpSpec\ObjectBehavior;
19
20
class CommandCollectionSpec extends ObjectBehavior
21
{
22
    function it_is_initializable()
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
23
    {
24
        $this->shouldHaveType(CommandCollection::class);
25
        $this->shouldImplement(CommandLogicUnitCommandCollection::class);
26
    }
27
}
28