/** * @test */ public function fileWorks() { $file = new File(__DIR__ . '/filetest.txt'); $this->assertEquals(__DIR__ . '/filetest.txt', $file->filePath()); $this->assertEquals('txt', $file->format()); }
/** * @return string */ public function mimeType() { return $this->file->mimeType(); }