public function setUp()
{
$this->filesystem = new Filesystem();
$this->testRepoDir = __DIR__ . '/testRepo';
$this->clean();
$this->filesystem->mkdir($this->testRepoDir);
chdir($this->testRepoDir);
file_put_contents(sprintf('%s/foobar', $this->testRepoDir), 'Foobar');
$this->exec('git init');
$this->exec('git add foobar');
$this->exec('git config user.email "[email protected]"');
$this->exec('git config user.name "My Name"');
$this->provider = new Provider\Git();
}