コード例 #1
0
 /**
  * @test
  */
 public function addCommitIncreasesUnknownCountWithPrefixThatIsNotKnownInCommitMessage()
 {
     $this->assertEquals(0, $this->fixture->getCommitCountUnknown());
     $commit = new \Mrimann\CoMo\Domain\Model\Commit();
     $commit->setCommitLine('[XYZ] foo bar');
     $this->fixture->addCommit($commit);
     $this->assertEquals(1, $this->fixture->getCommitCountUnknown());
 }