Beispiel #1
0
 public function testSetAndGetMaxResults()
 {
     $query = new Zend_Gdata_Query();
     $query->setMaxResults('300');
     $this->assertEquals('300', $query->getMaxResults());
     $this->assertContains('max-results=300', $query->getQueryUrl());
 }
Beispiel #2
0
 public function testSetAndGetMaxResults()
 {
     $query = new Zend_Gdata_Query();
     $query->setMaxResults('300');
     $this->assertEquals('300', $query->getMaxResults());
     $this->assertTrue(strpos($query->getQueryUrl(), 'max-results=300') !== false);
 }