public function testSetAndGetLifetime() { if (function_exists('apc_add')) { $c = Cache::factory(new Apc(), 30); $c->setLifetime(30); $this->assertEquals(30, $c->getLifetime()); } }