public function testSelectGeneration()
{
$result = $this->form->select('foo');
$this->assertTags($result, array('select' => array('name' => 'foo', 'id' => 'Foo'), '/select'));
$result = $this->form->select('colors', array('r' => 'red', 'g "' => 'green', 'b' => 'blue'), array('id' => 'Colors', 'value' => 'g "'));
$this->assertTags($result, array('select' => array('name' => 'colors', 'id' => 'Colors'), array('option' => array('value' => 'r')), 'red', '/option', array('option' => array('value' => 'g "', 'selected' => 'selected')), 'green', '/option', array('option' => array('value' => 'b')), 'blue', '/option', '/select'));
}