public function testHardLinkNonExistentFile() { $file = '/THIS/DIRECTORY/DOES/NOT/EXIST/' . $this->filename; $this->setExpectedException('Sonrisa\\Component\\FileSystem\\Exceptions\\FileSystemException'); File::hardSymLink($file, 'alias'); }