markTestSkipped('APC must be installed and the apc.enable_cli setting must be enabled.'); } } public function testCache() { $cache = new ApcCache(); $this->assertFalse($cache->has('foo')); $cache->set('foo', 'bar'); $this->assertEquals('bar', $cache->get('foo')); $this->assertTrue($cache->has('foo')); $cache->remove('foo'); $this->assertFalse($cache->has('foo')); } }