public function testFrozenRepeatShouldNotContainJavascript() { $repeat = new HTML_QuickForm2_Container_Repeat(); $repeat->setPrototype(new HTML_QuickForm2_Container_Fieldset()); $repeat->toggleFrozen(true); $this->assertNotContains('<script', $repeat->__toString()); }