'; $this->assertEquals($result, PMA_generate_html_dropdown($name, $choices, $active_choice, $id)); } function testGenerateHtmlDropdown() { $name = "&test_dropdown_name"; $choices = array("value_1" => "label_1", "value&_2\"" => "label_2"); $active_choice = null; $id = "test_<dropdown>_name"; $result = ''; $this->assertEquals($result, PMA_generate_html_dropdown($name, $choices, $active_choice, $id)); } function testGenerateHtmlDropdownWithActive() { $name = "&test_dropdown_name"; $choices = array("value_1" => "label_1", "value&_2\"" => "label_2"); $active_choice = "value&_2\""; $id = "test_<dropdown>_name"; $result = ''; $this->assertEquals($result, PMA_generate_html_dropdown($name, $choices, $active_choice, $id)); } }