public function testLibOptionsSet() { $options = new MemcacheDbOptions(); $options->setLibOptions(array('COMPRESSION' => false)); $this->assertEquals($options->getLibOption(\Memcached::OPT_COMPRESSION), false); $memcached = new MemcacheDb($options); $this->assertEquals($memcached->getOptions()->getLibOptions(), array(\Memcached::OPT_COMPRESSION => false)); }