Platformsh\Cli\Tests\FilesystemHelperTest::testRemoveDir PHP Method

testRemoveDir() public method

Test FilesystemHelper::remove() on directories.
public testRemoveDir ( )
    public function testRemoveDir()
    {
        // Create a test directory containing some files in several levels.
        $testDir = $this->tempDir(true);
        // Check that the directory can be removed.
        $this->assertTrue($this->filesystemHelper->remove($testDir));
        $this->assertFileNotExists($testDir);
    }