/** * @test */ public function getCommitCountWithTypeDoesNotReturnWrongTopicCommitCount() { $commit = new \Mrimann\CoMo\Domain\Model\Commit(); $commit->setCommitLine('[BUGFIX] foo bar'); $this->fixture->addCommit($commit); $this->assertEquals(0, $this->fixture->getCommitCountByType('feature')); }