Ejemplo n.º 1
0
 public function testConstructor()
 {
     $m = new gtMethod('DOMDocument', 'createAttribute');
     $m->setConstructorArgumentNames();
     $a = $m->getConstructorArgumentNames();
     $this->assertEquals($a[0], 'version');
     $this->assertEquals($a[1], 'encoding');
 }