markTestSkipped('Db setup required'); $config = array('name' => 'queue1', 'driverOptions' => array('host' => 'db1.domain.tld', 'username' => 'my_username', 'password' => 'my_password', 'dbname' => 'messaging', 'type' => 'pdo_mysql', 'port' => 3306)); // optional parameter $adapter = new Zend_Queue('Db', $config); $this->assertTrue($adapter instanceof Zend_Queue); } public function testMemcacheq() { $this->markTestSkipped('MemcacheQ setup required'); $config = array('name' => 'queue1', 'driverOptions' => array('host' => 'memcacheq.domain.tld', 'port' => 22201)); $adapter = new Zend_Queue('Memcacheq', $config); $this->assertTrue($adapter instanceof Zend_Queue); } public function testApachemq() { $this->markTestSkipped('Stomp setup required'); $config = array('name' => 'queue1', 'driverOptions' => array('host' => 'msg.domain.tld', 'port' => 61613, 'username' => 'username', 'password' => 'password')); $adapter = new Zend_Queue('Stomp', $config); $this->assertTrue($adapter instanceof Zend_Queue); } public function testArray() { $config = array('name' => 'queue1', 'driverOptions' => array()); $adapter = new Zend_Queue('Array', $config); $this->assertTrue($adapter instanceof Zend_Queue); } }