public function testDecrementWithScope() { $adapter = new XCache(array('scope' => 'primary')); xcache_set('primary:key1', 1, 60); xcache_set('key1', 1, 60); $adapter->decrement('key1'); $expected = 1; $result = xcache_get('key1'); $this->assertEqual($expected, $result); $expected = 0; $result = xcache_get('primary:key1'); $this->assertEqual($expected, $result); }