public function setUp()
{
$this->filesystem = new Filesystem();
$this->workspaceDir = sys_get_temp_dir() . '/phpbench-tests';
$this->filesystem->remove($this->workspaceDir);
$this->filesystem->mkdir($this->workspaceDir);
$this->fname = sprintf('%s/%s', $this->workspaceDir, 'testfile');
$this->filesystem->mirror(__DIR__ . '/env', $this->workspaceDir . '/env');
$this->filesystem->mirror(__DIR__ . '/benchmarks', $this->workspaceDir . '/benchmarks');
$this->filesystem->mirror(__DIR__ . '/bootstrap', $this->workspaceDir . '/bootstrap');
}