public function testChangeModificationDateExistingFile() { $file = $this->filename; $original = File::getModificationDate($file); $time = time() - 3600; File::touch($file, $time); $result = File::getModificationDate($file); $this->assertEquals($original - 3600, $result); }