| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | function it_creates_a_command() |
||
| 21 | { |
||
| 22 | $this->beConstructedWith('user-id', '[email protected]', 'kreta-username', 'kreta', 'lastname'); |
||
| 23 | $this->shouldHaveType(EditProfileCommand::class); |
||
| 24 | |||
| 25 | $this->id()->shouldReturn('user-id'); |
||
| 26 | $this->email()->shouldReturn('[email protected]'); |
||
| 27 | $this->username()->shouldReturn('kreta-username'); |
||
| 28 | $this->firstName()->shouldReturn('kreta'); |
||
| 29 | $this->lastName()->shouldReturn('lastname'); |
||
| 30 | } |
||
| 31 | } |
||
| 32 |