Beispiel #1
0
 public function testArguments2()
 {
     $f = new gtFunction('version_compare');
     $f->setArgumentNames();
     $m = $f->getMandatoryArgumentNames();
     $o = $f->getOptionalArgumentNames();
     $this->assertEquals($m[0], 'ver1');
     $this->assertEquals($m[1], 'ver2');
     $this->assertEquals($o[0], 'oper');
 }