getAdapterName() * * @return string */ public function getAdapterFullName() { return 'Zend_Queue_Adapter_' . $this->getAdapterName(); } public function getTestConfig() { return array('driverOptions' => array()); } // test the constants public function testConst() { $this->markTestSkipped('no constants to test'); } // extra non standard tests public function test_magic() { $queue = $this->createQueue(__FUNCTION__); $adapter = $queue->getAdapter(); $this->assertTrue(is_array($adapter->__sleep())); $data = serialize($adapter); $new = unserialize($data); $this->assertEquals($new->getData(), $adapter->getData()); } public function test_get_setData() { $queue = $this->createQueue(__FUNCTION__); $adapter = $queue->getAdapter(); $data = array('test' => 1); $adapter->setData($data); $got = $adapter->getData(); $this->assertEquals($data['test'], $got['test']); } }