예제 #1
0
 public function testGetParams()
 {
     $node = new VarDumpAction();
     $node->setParam('param1', '123');
     $node->setParam('param2', '456');
     $this->assertCount(2, $node->getParams());
     $this->assertEquals(array('param1' => '123', 'param2' => '456'), $node->getParams());
 }