/** * @test */ public function testRemove() { $file = new Filesystem(); $path = static::getTempPath(__FUNCTION__); $this->assertFileExists($path, $file->touch($path)); $this->assertFileNotExists($path, $file->remove($path)); $path = static::getTempPath(__FUNCTION__); $this->assertFileExists($path, $file->touch($path)); $this->assertFileNotExists($path, $file->remove($path, true)); }