/** * testing decodeBB method * * @param string $actual BB code string * @param string $expected Expected decoded string * * @return void * * @dataProvider decodeBBDataProvider */ public function testDecodeBB($actual, $expected) { unset($GLOBALS['server']); unset($GLOBALS['collation_connection']); $this->assertEquals($expected, PMA\libraries\Message::decodeBB($actual)); }