" Bearer " . $this->access_token, "CONTENT_TYPE" => "application/json" ]; $response = $this->action( "GET", "OAuth2SpeakerOrganizationalRoleApiController@getAll", $params, [], [], [], $headers ); $content = $response->getContent(); $this->assertResponseStatus(200); $roles = json_decode($content); $this->assertTrue(!is_null($roles)); return $roles; } }