getArguments() public method

public getArguments ( )
Example #1
0
 public function testSetArguments()
 {
     $this->if($runner = new testedClass($name = uniqid()))->then->object($runner->setArguments(array()))->isIdenticalTo($runner)->array($runner->getArguments())->isEmpty()->object($runner->setArguments($arguments = array(uniqid(), uniqid(), uniqid())))->isIdenticalTo($runner)->array($runner->getArguments())->isEqualTo($arguments);
 }