public function testGitCommitAuthorSignature() { $commit = new Git\Commit(new Git\Repository(PHP_GIT_FIXTURE_DIR . "/fixture.git")); $commit->setAuthor(new Git\Signature("Someone Else", "*****@*****.**", new DateTime("@1293956764"))); $author = $commit->getAuthor(); $this->assertEquals("Someone Else", $author->name); $this->assertEquals("*****@*****.**", $author->email); $this->assertEquals(1293956764, $author->time->getTimestamp()); }