set('dynamic.dbActual', 'information_schema'); $selectBox = $model->getTableSelectBox(); $tables = array('CHARACTER_SETS', 'COLLATIONS', 'COLLATION_CHARACTER_SET_APPLICABILITY', 'COLUMNS', 'COLUMN_PRIVILEGES', 'ENGINES' ); $pattern = ''; foreach ($tables as $table) { $val = sprintf($pattern, $table); $this->assertTrue(strpos($selectBox, $val) !== false); } } }