query = new Zend_Gdata_Calendar_EventQuery(); } /** * @expectedException Zend_Gdata_App_Exception */ public function testSingleEventsThrowsExceptionOnSetInvalidValue() { $this->query->resetParameters(); $singleEvents = 'puppy'; $this->query->setUser(self::GOOGLE_DEVELOPER_CALENDAR); $this->query->setSingleEvents($singleEvents); } /** * @expectedException Zend_Gdata_App_Exception */ public function testFutureEventsThrowsExceptionOnSetInvalidValue() { $this->query->resetParameters(); $futureEvents = 'puppy'; $this->query->setUser(self::GOOGLE_DEVELOPER_CALENDAR); $this->query->setFutureEvents($futureEvents); } }