action( "GET", "CountriesApiController@getAll", $params, [], [], [], [] ); $content = $response->getContent(); $countries = json_decode($content); $this->assertTrue(!is_null($countries)); $this->assertResponseStatus(200); } }