Ejemplo n.º 1
0
 public function testAddChildVariable()
 {
     $method = new PhpMethod('foo', array());
     $method->addChild(new PhpVariable('bar'));
     $this->assertCount(1, $method->getChildren());
 }