/** * hasChildren() test */ public function testHasChildren() { $parent = new Zend_Server_Reflection_Node('string'); $this->assertFalse($parent->hasChildren()); $parent->createChild('array'); $this->assertTrue($parent->hasChildren()); }