| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | function it_can_be_created(Notification $notification) |
||
| 25 | { |
||
| 26 | $this->shouldHaveType(Notifications::class); |
||
| 27 | $this->count()->shouldReturn(0); |
||
| 28 | $this->add($notification); |
||
| 29 | $this->count()->shouldReturn(1); |
||
| 30 | $this->of(0)->shouldReturn($notification); |
||
| 31 | $this->getIterator()->shouldReturnAnInstanceOf(\ArrayIterator::class); |
||
| 32 | } |
||
| 33 | |||
| 39 |