예제 #1
0
 /**
  * @covers Instaphp\Instagram\Locations::Recent
  */
 public function testRecent()
 {
     $res = $this->object->recent($this->location_id, ['count' => 10]);
     $this->assertInstanceOf('\\Instaphp\\Instagram\\Response', $res);
     $this->assertNotEmpty($res->data);
     $this->assertGreaterThan(0, count($res->data));
     $this->assertNotEmpty($res->pagination);
 }