Beispiel #1
0
 /**
  * Test sandboxed call with relative path
  */
 public function testRelativeSandboxedCall()
 {
     $this->assertFalse($this->client->exists('sub/value'));
     $this->client->sandboxed('./sub', function (ClientInterface &$c) {
         $c->set('value', 123);
     });
     $this->assertTrue($this->client->exists('sub/value'));
     $this->assertEquals('123', $this->client->get('sub/value'));
 }