public function testAddingNoResource($fileName, $data) { $ret = $this->streamer->addFileFromStream($data, $fileName, 10); $this->assertFalse($ret); $this->streamer->finalize(); $this->assertFileNotInTar($fileName); }