/** * Test getting an attribute */ public function testGetAttr() { $this->form->setAttr('foo', 'bar'); $this->assertSame('bar', $this->form->getAttr('foo')); }