Gittern\Entity\GitObject\TreeTest::testSortsNodesWithStrcmp PHP Method

testSortsNodesWithStrcmp() public method

    public function testSortsNodesWithStrcmp()
    {
        $new_node = M::mock('Gittern\\Entity\\GitObject\\Node\\BaseNode', array('getName' => '1337'));
        $this->tree->addNode($new_node);
        $this->assertEquals(array($new_node, $this->node_mock), $this->tree->getNodes());
    }