public function testGitArchive()
{
$archiveName = uniqid() . '.tar';
$archivePath = '/tmp/' . $archiveName;
$git = $this->getWorkingCopy();
$output = (string) $git->archive('HEAD', array('o' => $archivePath));
$this->assertEquals("", $output);
$this->assertFileExists($archivePath);
}