public function testFetchObject_ClassNotExists_ThrowsException() { $this->setExpectedException("Zend_Db_Statement_Exception"); $row = array("foo" => "bar", "bar" => "baz"); $stmt = new Zend_Test_DbStatement(); $stmt->append($row); $object = $stmt->fetchObject("anInvalidClassName"); }