/** * test title attribute */ public function testInputTitle() { $input = new TextInput('test'); $this->assertNull($input->renderTitle()); $input->setTitle('title'); $this->assertEquals(' title="title"', $input->renderTitle()); }
/** * test title attribute */ public function testInputTitle() { $input = new TextInput('test'); $this->assertNull($input->renderTitle()); $input->setTitle('title'); $this->assertEquals(' title="title"', $input->renderTitle()); }