public function testAddElementWithUnderscoreInType()
 {
     HTML_QuickForm2_Factory::registerElement('super_box', 'HTML_QuickForm2_Element_InputCheckbox');
     $this->assertTrue(HTML_QuickForm2_Factory::isElementRegistered('super_box'));
     $c = new HTML_QuickForm2_ContainerImpl('cCOT3');
     $el1 = $c->addSuper_Box('sBox_1');
     $el2 = $c->addsuper_box('sBox_2');
     $el3 = $c->addSuper_box('sBox_3');
     $this->assertSame($el1, $c->getElementById('sBox_1-0'));
     $this->assertSame($el2, $c->getElementById('sBox_2-0'));
     $this->assertSame($el3, $c->getElementById('sBox_3-0'));
     try {
         $c->addSuper_Select('sSel_1');
     } catch (HTML_QuickForm2_InvalidArgumentException $e) {
         $this->assertEquals("Element type 'super_select' is not known", $e->getMessage());
         return;
     }
     $this->fail('Expected HTML_QuickForm2_InvalidArgumentException was not thrown');
 }