public function testCustomParser()
{
$b = new BBCodeParser();
$b->setParser('verybold', '/\\[verybold\\](.*)\\[\\/verybold\\]/', '<strong>VERY $1 BOLD</strong>');
$result = $b->parse('[verybold]something[/verybold]');
$this->assertEquals($result, '<strong>VERY something BOLD</strong>');
}