snippetQuery = new Zend_Gdata_Gbase_SnippetQuery(); } public function testBq() { $this->snippetQuery->resetParameters(); $this->snippetQuery->setBq('[title:PHP]'); $this->assertEquals($this->snippetQuery->getBq(), '[title:PHP]'); } public function testRefine() { $this->snippetQuery->resetParameters(); $this->snippetQuery->setRefine('true'); $this->assertEquals($this->snippetQuery->getRefine(), 'true'); } public function testContent() { $this->snippetQuery->resetParameters(); $this->snippetQuery->setContent('stats'); $this->assertEquals($this->snippetQuery->getContent(), 'stats'); } public function testOrderBy() { $this->snippetQuery->resetParameters(); $this->snippetQuery->setOrderBy('relevancy'); $this->assertEquals($this->snippetQuery->getOrderBy(), 'relevancy'); } public function testSortOrder() { $this->snippetQuery->resetParameters(); $this->snippetQuery->setOrderBy('descending'); $this->assertEquals($this->snippetQuery->getOrderBy(), 'descending'); } public function testCrowdBy() { $this->snippetQuery->resetParameters(); $this->snippetQuery->setCrowdBy('attribute:5,content:2,url'); $this->assertEquals($this->snippetQuery->getCrowdBy(), 'attribute:5,content:2,url'); } public function testAdjust() { $this->snippetQuery->resetParameters(); $this->snippetQuery->setAdjust('true'); $this->assertEquals($this->snippetQuery->getAdjust(), 'true'); } }