public function testDelete()
{
$key = 'key_to_delete';
$keys = array($key);
$time = time() + 1;
$path = Libraries::get(true, 'resources') . "/tmp/cache/{$key}";
file_put_contents($path, "{:expiry:{$time}}\ndata");
$this->assertFileExists($path);
$result = $this->File->delete($keys);
$this->assertTrue($result);
$key = 'non_existent';
$keys = array($key);
$result = $this->File->delete($keys);
$this->assertFalse($result);
}