Passed
Push — master ( 45cbc7...73f609 )
by Tomasz
01:28
created

TransformBoardHandlerSpec::let()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 3
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace spec\Aggrego\DomainEventProducer\Messenger\Handlers;
4
5
use Aggrego\Domain\Api\Command\TransformBoard\UseCase;
6
use Aggrego\DomainEventProducer\Domain\Repository;
7
use Aggrego\DomainEventProducer\Messenger\Handlers\TransformBoardHandler;
8
use Aggrego\EventConsumer\Client;
9
use PhpSpec\ObjectBehavior;
10
11
class TransformBoardHandlerSpec extends ObjectBehavior
12
{
13
    function let(UseCase $useCase, Repository $repository, Client $client)
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...
14
    {
15
        $this->beConstructedWith($useCase, $repository, $client);
16
    }
17
18
    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...
19
    {
20
        $this->shouldHaveType(TransformBoardHandler::class);
21
    }
22
}
23