| Total Complexity | 2 | 
| Total Lines | 25 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 8 | class BrokenExternalLinkTest extends SapphireTest  | 
            ||
| 9 | { | 
            ||
| 10 | /**  | 
            ||
| 11 | * @param int $httpCode  | 
            ||
| 12 | * @param string $expected  | 
            ||
| 13 | * @dataProvider httpCodeProvider  | 
            ||
| 14 | */  | 
            ||
| 15 | public function testGetHTTPCodeDescription($httpCode, $expected)  | 
            ||
| 16 |     { | 
            ||
| 17 | $link = new BrokenExternalLink();  | 
            ||
| 18 | $link->HTTPCode = $httpCode;  | 
            ||
| 19 | $this->assertSame($expected, $link->getHTTPCodeDescription());  | 
            ||
| 20 | }  | 
            ||
| 21 | |||
| 22 | /**  | 
            ||
| 23 | * @return array[]  | 
            ||
| 24 | */  | 
            ||
| 25 | public function httpCodeProvider()  | 
            ||
| 33 | ];  | 
            ||
| 34 | }  | 
            ||
| 36 |