function it_knows_the_git_dir(ContainerInterface $container) { $container->getParameter('git_dir')->willReturn('.'); $this->getGitDir()->shouldReturn('.'); }