docQuery = new Zend_Gdata_Docs_Query(); } public function testTitle() { $this->assertTrue($this->docQuery->getTitle() == null); $this->docQuery->setTitle('test title'); $this->assertTrue($this->docQuery->getTitle() == 'test title'); $this->assertTrue($this->docQuery->getQueryString() == '?title=test+title'); $this->docQuery->setTitle(null); $this->assertTrue($this->docQuery->getTitle() == null); } public function testTitleExact() { $this->assertTrue($this->docQuery->getTitleExact() == null); $this->docQuery->setTitleExact('test title'); $this->assertTrue($this->docQuery->getTitleExact() == 'test title'); $this->assertTrue($this->docQuery->getQueryString() == '?title-exact=test+title'); $this->docQuery->setTitleExact(null); $this->assertTrue($this->docQuery->getTitleExact() == null); } public function testProjection() { $this->assertTrue($this->docQuery->getProjection() == 'full'); $this->docQuery->setProjection('abc'); $this->assertTrue($this->docQuery->getProjection() == 'abc'); } public function testVisibility() { $this->assertTrue($this->docQuery->getVisibility() == 'private'); $this->docQuery->setVisibility('xyz'); $this->assertTrue($this->docQuery->getVisibility() == 'xyz'); } }