ref = new ReflectionClass('Zend_Service_Technorati_Result'); $this->domElements = self::getTestFileElementsAsDom('TestSearchResultSet.xml'); $this->object = new Zend_Service_Technorati_SearchResult($this->domElements->item(0)); $this->objectRef = new ReflectionObject($this->object); } public function testResultIsAbstract() { $this->assertTrue($this->ref->isAbstract()); } /** * Security check */ public function testResultIsParentOfThisObjectClass() { $this->assertTrue($this->objectRef->isSubclassOf($this->ref)); } public function testResultSerialization() { $this->_testResultSerialization($this->object); } }