public function testCanSetName()
 {
     $obj = new HTML_QuickForm2_ContainerImpl();
     $this->assertNotNull($obj->getName(), 'Containers should always have \'name\' attribute');
     $obj = new HTML_QuickForm2_ContainerImpl('foo');
     $this->assertEquals('foo', $obj->getName());
     $this->assertSame($obj, $obj->setName('bar'));
     $this->assertEquals('bar', $obj->getName());
     $obj->setAttribute('name', 'baz');
     $this->assertEquals('baz', $obj->getName());
 }