phake\Node::get_description PHP Method

get_description() public method

public get_description ( )
    public function get_description()
    {
        return $this->desc;
    }

Usage Example

Beispiel #1
0
 public function testRootNode()
 {
     $root = new Node(null, '');
     $this->assertEquals(null, $root->get_description());
     $this->assertEquals('', $root->get_name());
     $this->assertEquals(null, $root->get_parent());
     $this->assertEquals($root, $root->get_root());
     $this->assertEquals(array(), $root->get_dependencies());
     return $root;
 }