public function testListBox()
{
$I = $this->codeGuy;
$html = TbHtml::listBox('listbox', null, array('1', '2', '3', '4', '5'), array('class' => 'list', 'empty' => 'Empty text', 'size' => TbHtml::INPUT_SIZE_LARGE, 'textAlign' => TbHtml::TEXT_ALIGN_CENTER));
$select = $I->createNode($html, 'select');
$I->seeNodeCssClass($select, 'input-large text-center list');
$I->seeNodeAttributes($select, array('name' => 'listbox', 'id' => 'listbox', 'size' => 4));
$html = TbHtml::listBox('listbox', null, array('1', '2', '3', '4', '5'), array('multiple' => true));
$select = $I->createNode($html, 'select');
$I->seeNodeAttribute($select, 'name', 'listbox[]');
}