public function testGetRemoteUrl($remote, $operation, $expected)
{
$this->createRemote();
$git = $this->getWorkingCopy();
$git->addRemote('remote', 'file://' . realpath(self::REMOTE_REPO_DIR));
$this->assertEquals('file://' . realpath($expected), $git->getRemoteUrl($remote, $operation));
}