public function testSimpleWrite()
{
$key = 'key';
$data = 'value';
$keys = array($key => $data);
$expiry = '+5 seconds';
$time = strtotime($expiry);
$result = $this->XCache->write($keys, $expiry);
$this->assertTrue($result);
$expected = $data;
$result = xcache_get($key);
$this->assertEqual($expected, $result);
$result = xcache_unset($key);
$this->assertTrue($result);
$key = 'another_key';
$data = 'more_data';
$keys = array($key => $data);
$expiry = '+1 minute';
$time = strtotime($expiry);
$result = $this->XCache->write($keys, $expiry);
$this->assertTrue($result);
$expected = $data;
$result = xcache_get($key);
$this->assertEqual($expected, $result);
$result = xcache_unset($key);
$this->assertTrue($result);
}