Ejemplo n.º 1
0
 public function testSetAndGetStartIndex()
 {
     $query = new Zend_Gdata_Query();
     $query->setStartIndex(12);
     $this->assertEquals(12, $query->getStartIndex());
     $this->assertTrue(strpos($query->getQueryUrl(), 'start-index=12') !== false);
 }
Ejemplo n.º 2
0
 public function testSetAndGetStartIndex()
 {
     $query = new Zend_Gdata_Query();
     $query->setStartIndex(12);
     $this->assertEquals(12, $query->getStartIndex());
     $this->assertContains('start-index=12', $query->getQueryUrl());
 }