public function tearDown()
{
foreach (new \DirectoryIterator(vfs\vfsStream::url('nfs')) as $file) {
if (!$file->isDot()) {
unlink($file->getPathname());
}
}
rmdir(vfs\vfsStream::url('nfs'));
foreach (new \DirectoryIterator('/tmp/mutex/') as $file) {
if (!$file->isDot()) {
unlink($file->getPathname());
}
}
rmdir('/tmp/mutex/');
}