Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
41 | function it_get_board_by_uuid(DomainRepository $repository, Board $board) |
||
42 | { |
||
43 | $repository->getBoardByUuid(new Uuid('ff6f8cb0-c57d-11e1-9b21-0800200c9a66'))->willReturn($board); |
||
44 | $this->beConstructedWith($repository); |
||
45 | |||
46 | $this->getBoardByUuid(new Uuid('ff6f8cb0-c57d-11e1-9b21-0800200c9a66'))->shouldBeAnInstanceOf(Board::class); |
||
47 | } |
||
49 |
Adding explicit visibility (
private
,protected
, orpublic
) is generally recommend to communicate to other developers how, and from where this method is intended to be used.