public function testFrozenGroupsHaveNoClientValidation()
 {
     $group = new HTML_QuickForm2_Container_Group('aGroup');
     $ruleGroup = $this->getMock('HTML_QuickForm2_Rule', array('validateOwner', 'getJavascriptCallback'), array($group));
     $ruleGroup->expects($this->never())->method('getJavascriptCallback');
     $group->addRule($ruleGroup, HTML_QuickForm2_Rule::CLIENT);
     $group->toggleFrozen(true);
     $this->assertEquals('', $group->render(HTML_QuickForm2_Renderer::factory('default'))->getJavascriptBuilder()->getFormJavascript());
 }