/** * test label */ public function testLabel() { $input = new TextInput('test'); $input->setLabel('label'); $this->assertEquals('<label for="test">label</label> ', $input->renderLabel()); }