| Total Complexity | 2 | 
| Total Lines | 26 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 10 | class ShortUrlNotFoundExceptionTest extends TestCase  | 
            ||
| 11 | { | 
            ||
| 12 | /**  | 
            ||
| 13 | * @test  | 
            ||
| 14 | * @dataProvider provideMessages  | 
            ||
| 15 | */  | 
            ||
| 16 | public function properlyCreatesExceptionFromNotFoundShortCode(  | 
            ||
| 17 | string $expectedMessage,  | 
            ||
| 18 | string $shortCode,  | 
            ||
| 19 | ?string $domain  | 
            ||
| 20 |     ): void { | 
            ||
| 21 | $e = ShortUrlNotFoundException::fromNotFoundShortCode($shortCode, $domain);  | 
            ||
| 22 | $this->assertEquals($expectedMessage, $e->getMessage());  | 
            ||
| 23 | }  | 
            ||
| 24 | |||
| 25 | public function provideMessages(): iterable  | 
            ||
| 36 | ];  | 
            ||
| 37 | }  | 
            ||
| 39 |