public function testSimpleFile($fileName, $data)
{
$dataStream = fopen('data://text/plain,' . $data, 'r');
$ret = $this->streamer->addFileFromStream($dataStream, $fileName, 10);
$this->assertTrue($ret);
$this->streamer->finalize();
$this->assertFileInTar($fileName);
}