public function testAddElementsWithBracketsInName()
 {
     $c = new HTML_QuickForm2_ContainerImpl('cCOT0');
     $el1 = $c->addCheckbox('chCOT[]');
     $el2 = $c->addCheckbox('chCOT[]');
     $this->assertSame($el1, $c->getElementById('chCOT-0-0'));
     $this->assertSame($el2, $c->getElementById('chCOT-1-0'));
 }