public function getOptions() { $options = parent::getOptions(); $options['extension'] = 'pdo'; $options['nesting'] = 2; return $options; }
public function testSetOptions() { $driverType = $this->driverClass; $options = $this->getOptions(); $options['namespace'] = 'namespace_test'; $options['ttl'] = 15; $driver = new $driverType($options); $this->assertAttributeEquals('namespace_test', 'apcNamespace', $driver, 'APC is setting supplied namespace.'); $this->assertAttributeEquals(15, 'ttl', $driver, 'APC is setting supplied ttl.'); return parent::testSetOptions(); }