public function testRemoveCleansTraversableObjectOfFilesAndDirectories()
{
$basePath = $this->workspace . DIRECTORY_SEPARATOR;
mkdir($basePath . 'dir');
touch($basePath . 'file');
$files = new \ArrayObject(array($basePath . 'dir', $basePath . 'file'));
$this->filesystem->remove($files);
$this->assertFileNotExists($basePath . 'dir');
$this->assertFileNotExists($basePath . 'file');
}