public function testGetRemote()
{
$this->createRemote();
$git = $this->getWorkingCopy();
$path = 'file://' . realpath(self::REMOTE_REPO_DIR);
$git->addRemote('remote', $path);
// Both the 'fetch' and 'push' URIs should be populated and point to the
// correct location.
$remote = $git->getRemote('remote');
$this->assertEquals($path, $remote['fetch']);
$this->assertEquals($path, $remote['push']);
}