| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 38 | function it_can_be_created_from_slugs(Slug $slug, Slug $organizationSlug) |
||
| 39 | { |
||
| 40 | $slug->slug()->willReturn('slug'); |
||
| 41 | $organizationSlug->slug()->willReturn('organization-slug'); |
||
| 42 | $this->beConstructedFromSlugs($slug, $organizationSlug); |
||
| 43 | $this->getMessage()->shouldReturn( |
||
| 44 | 'Project with "slug" slug and "organization-slug" organization\'s slug already exists' |
||
| 45 | ); |
||
| 46 | } |
||
| 47 | } |
||
| 48 |