コード例 #1
0
ファイル: CommitTest.php プロジェクト: hmcclungiii/gitphp
 public function testSearchComment()
 {
     $commit = new GitPHP_Commit($this->getMockBuilder('GitPHP_Project')->disableOriginalConstructor()->getMock(), '1234567890abcdef1234567890ABCDEF12345678', $this->getMockCommitLoader());
     $this->assertEquals(array('commit line 1 commit line 1 commit line 1 commit line 1'), $commit->SearchComment('line 1'));
 }