public function testGetActionName()
 {
     $_REQUEST = array(sprintf(HTML_QuickForm2_Controller_Page::KEY_NAME, 'foo', 'bar') => 'Button value', sprintf(HTML_QuickForm2_Controller_Page::KEY_NAME, 'baz', 'quux') . '_x' => 15);
     $controller1 = new HTML_QuickForm2_Controller('first');
     $controller1->addPage($this->getMock('HTML_QuickForm2_Controller_Page', array('populateForm'), array(new HTML_QuickForm2('foo'))));
     $this->assertEquals(array('foo', 'bar'), $controller1->getActionName());
     $controller2 = new HTML_QuickForm2_Controller('second');
     $controller2->addPage($this->getMock('HTML_QuickForm2_Controller_Page', array('populateForm'), array(new HTML_QuickForm2('baz'))));
     $this->assertEquals(array('baz', 'quux'), $controller2->getActionName());
     $_REQUEST = array();
     $this->assertEquals(array('foo', 'bar'), $controller1->getActionName());
 }