public function testTemplateRemapping()
{
$result = $this->form->password('passwd');
$this->assertTags($result, array('input' => array('type' => 'password', 'name' => 'passwd', 'id' => 'Passwd')));
$this->form->config(array('templates' => array('password' => 'text')));
$result = $this->form->password('passwd');
$this->assertTags($result, array('input' => array('type' => 'text', 'name' => 'passwd', 'id' => 'Passwd')));
}