Gittern\Entity\GitObject\CommitTest::testCanSetAndGetTree PHP Méthode

testCanSetAndGetTree() public méthode

    public function testCanSetAndGetTree()
    {
        $tree_mock = M::mock('Gittern\\Entity\\GitObject\\Tree');
        $this->commit->setTree($tree_mock);
        $this->assertEquals($tree_mock, $this->commit->getTree());
    }