public function testRadioTypeFieldWithCustomTemplate()
{
$result = $this->form->field('name', array('template' => '<span{:wrap}>{:label}: {:input}{:error}</span>', 'type' => 'radio'));
$this->assertTags($result, array('span' => array(), 'label' => array('for' => 'Name'), 'Name', '/label', ':', 'input' => array('type' => 'radio', 'name' => 'name', 'id' => 'Name', 'value' => '1')));
}