Gittern\Entity\GitObject\CommitTest::testCanGetAndSetAuthorTime PHP Method

testCanGetAndSetAuthorTime() public method

    public function testCanGetAndSetAuthorTime()
    {
        $time = new \DateTime();
        $this->commit->setAuthorTime($time);
        $this->assertEquals($time, $this->commit->getAuthorTime());
    }