/** * @covers \Bit3\GitPhp\GitRepository::fetch * @covers \Bit3\GitPhp\Command\FetchCommandBuilder::execute */ public function testRemoteFetchOnUninitializedRepository() { $this->setExpectedException('Bit3\\GitPhp\\GitException'); $this->uninitializedGitRepository->fetch()->execute(); }