public function setAttributes($a, $v = null) { $this->form->setAttributes($a, $v); return $this; }
public function testSetAndGetAttributes() { $f = new Form('/submit', 'post'); $f->setAttributes('id', 'test-form'); $this->assertEquals(3, count($f->getAttributes())); }