public function testIncrementWithScope() { $adapter = new Apc(array('scope' => 'primary')); apc_store('primary:key1', 1, 60); apc_store('key1', 1, 60); $adapter->increment('key1'); $expected = 1; $result = apc_fetch('key1'); $this->assertEqual($expected, $result); $expected = 2; $result = apc_fetch('primary:key1'); $this->assertEqual($expected, $result); }