/**
  * Tests that valid short codes that have not been registered are not replaced.
  */
 public function testNotRegisteredShortcode()
 {
     ShortcodeParser::$error_behavior = ShortcodeParser::STRIP;
     $this->assertEquals('', $this->parser->parse('[not_shortcode]'));
     $this->assertEquals('<img class="">', $this->parser->parse('<img class="[not_shortcode]">'));
     ShortcodeParser::$error_behavior = ShortcodeParser::WARN;
     $this->assertEquals('<strong class="warning">[not_shortcode]</strong>', $this->parser->parse('[not_shortcode]'));
     ShortcodeParser::$error_behavior = ShortcodeParser::LEAVE;
     $this->assertEquals('[not_shortcode]', $this->parser->parse('[not_shortcode]'));
     $this->assertEquals('[not_shortcode /]', $this->parser->parse('[not_shortcode /]'));
     $this->assertEquals('[not_shortcode,foo="bar"]', $this->parser->parse('[not_shortcode,foo="bar"]'));
     $this->assertEquals('[not_shortcode]a[/not_shortcode]', $this->parser->parse('[not_shortcode]a[/not_shortcode]'));
     $this->assertEquals('[/not_shortcode]', $this->parser->parse('[/not_shortcode]'));
     $this->assertEquals('<img class="[not_shortcode]">', $this->parser->parse('<img class="[not_shortcode]">'));
 }