Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
24 | function it_should_be_created(UserId $userId) |
||
25 | { |
||
26 | $this->beConstructedWith($userId); |
||
27 | $this->shouldHaveType(UserSignedUp::class); |
||
28 | $this->shouldImplement(DomainEvent::class); |
||
29 | $this->userId()->shouldReturn($userId); |
||
30 | $this->occurredOn()->shouldReturnAnInstanceOf(\DateTimeInterface::class); |
||
31 | } |
||
32 | } |
||
33 |