savedSearchesList() public method

Returns the authenticated user's saved search queries.
public savedSearchesList ( ) : array
return array
Ejemplo n.º 1
0
 /**
  * Tests Twitter->savedSearchesList()
  */
 public function testSavedSearchesList()
 {
     $temp = $this->twitter->savedSearchesCreate(time());
     $response = $this->twitter->savedSearchesList();
     $this->twitter->savedSearchesDestroy($temp['id']);
     foreach ($response as $row) {
         $this->assertArrayHasKey('created_at', $row);
         $this->assertArrayHasKey('id', $row);
         $this->assertArrayHasKey('name', $row);
         $this->assertArrayHasKey('query', $row);
     }
 }