function testPath() { $testCache = \arc\cache::create('test'); $testCache->cd('foo')->set('bar', 'ok'); $subCache = $testCache->cd('foo'); $result = $subCache->get('bar'); $this->assertTrue($result == 'ok'); }