public function testGetAuthorTimezone() { $commit = new GitPHP_Commit($this->getMockBuilder('GitPHP_Project')->disableOriginalConstructor()->getMock(), '1234567890abcdef1234567890ABCDEF12345678', $this->getMockCommitLoader()); $this->assertEquals('-0500', $commit->GetAuthorTimezone()); $this->assertEquals('-0500', $commit->GetAuthorTimezone()); //cached }