public function can_create_with_file() { $file = new File($this->tempName()); $file->touch(); $this->assertEquals($file, (new FileInput($file))->file()); }