Exemplo n.º 1
0
 public function testGetAuthorName()
 {
     $commit = new GitPHP_Commit($this->getMockBuilder('GitPHP_Project')->disableOriginalConstructor()->getMock(), '1234567890abcdef1234567890ABCDEF12345678', $this->getMockCommitLoader());
     $this->assertEquals('author', $commit->GetAuthorName());
     $this->assertEquals('author', $commit->GetAuthorName());
     //cached
 }