public function testWriteDotSyntax()
{
$key = 'dot.syntax';
$value = 'value to be written';
$closure = $this->php->write($key, $value);
$this->assertInternalType('callable', $closure);
$params = compact('key', 'value');
$result = $closure($this->php, $params, null);
$this->assertEqual($_SESSION['dot']['syntax'], $value);
}