public function setUp() { $this->archive = tempnam('/tmp', 'tar'); $this->streamer = new TarStreamer(['outstream' => fopen($this->archive, 'w')]); }