/** * @covers \Bit3\GitPhp\GitRepository::tag * @covers \Bit3\GitPhp\Command\TagCommandBuilder::execute */ public function testTagOnUninitializedRepository() { $this->setExpectedException('Bit3\\GitPhp\\GitException'); $this->uninitializedGitRepository->tag()->execute('unit-test'); }