public void Resolve_should_return_path_from_git_file_if_present()
        {
            _file.Exists(_gitFile).Returns(true);
            _file.ReadLines(_gitFile).Returns(new[] { "", " ", @"gitdir: c:/dev/repo/.git/modules/Externals/Git.hub", "text" });

            _resolver.Resolve(_workingDir).Should().Be(@"c:\dev\repo\.git\modules\Externals\Git.hub\");

            _directory.DidNotReceive().Exists(_gitWorkingDir);
        }