public function testReadDotSyntax()
{
$this->php->read();
$key = 'dot';
$value = array('syntax' => array('key' => 'value'));
$_SESSION[$key] = $value;
$closure = $this->php->read($key);
$this->assertInternalType('callable', $closure);
$params = compact('key');
$result = $closure($this->php, $params, null);
$this->assertIdentical($value, $result);
$params = array('key' => 'dot.syntax');
$result = $closure($this->php, $params, null);
$this->assertIdentical($value['syntax'], $result);
}