| Total Complexity | 3 | 
| Total Lines | 20 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 9 | class WebsiteControllerTest extends TestCase  | 
            ||
| 10 | { | 
            ||
| 11 | public function testShouldDisplayHomePage(): void  | 
            ||
| 15 | }  | 
            ||
| 16 | |||
| 17 | public function testShouldDisplayUserInfoPage(): void  | 
            ||
| 18 |     { | 
            ||
| 19 | $users = ['_Cyb3r', 'hackLover', 'RaynLegends', 'xPeppe'];  | 
            ||
| 20 | $user = array_rand($users);  | 
            ||
| 21 |         $response = $this->get('/user/'.$users[$user]); | 
            ||
| 22 | $response->assertResponseStatus(200);  | 
            ||
| 23 | }  | 
            ||
| 24 | |||
| 25 | public function testShouldDisplay404ForUnExistentUser(): void  | 
            ||
| 29 | }  | 
            ||
| 30 | }  | 
            ||
| 31 |