tests/PlayerTest.php
/**
     *Test for getting non existing player
     *
     * @return void
     */
Test for getting non existing player
@return void
Test for getting non existing player @return void
public function testGetWrongPlayer()
    {
        $this->get('api/player/11111', ['access_token' => env('ACCESS_TOKEN')]);
        $this->seeStatusCode(404);
    }
public function testGetWrongPlayer ( ) { $ this -> get ( 'api/player/11111' , [ 'access_token' => env ( 'ACCESS_TOKEN' ) ] ) ; $ this -> seeStatusCode ( 404 ) ; }
Test for getting non existing player
 @return void
Test for getting non existing player @return void