public function testDelete()
{
$this->php->read();
$key = 'delete_test';
$value = 'value to be deleted';
$_SESSION[$key] = $value;
$closure = $this->php->delete($key);
$this->assertInternalType('callable', $closure);
$params = compact('key');
$result = $closure($this->php, $params, null);
$this->assertTrue($result);
$key = 'non-existent';
$closure = $this->php->delete($key);
$this->assertInternalType('callable', $closure);
$params = compact('key');
$result = $closure($this->php, $params, null);
$this->assertTrue($result);
}