public static function isWritable($path) { return \Illuminate\Filesystem\Filesystem::isWritable($path); }
/** * Tests File::isWritable */ public function testIsWritable() { $spl = $this->getDeletableFileInfo(); $file = new File($spl); $writable = $file->isWritable(); unlink($spl->getPathname()); $this->assertEquals(true, $writable); }