public function testOutput()
{
if (file_exists(__DIR__ . '/../tmp/file.txt')) {
unlink(__DIR__ . '/../tmp/file.txt');
}
$f = new File(__DIR__ . '/../tmp/file.txt');
$f->write('123');
$this->setExpectedException('Pop\\Http\\Exception');
$f->output();
}