/**
  * @param string $content Content to search for shortcodes
  *
  * @return string Content with shortcodes filtered out.
  */
 public function doShortcode($content)
 {
     return $this->shortcodeChain->process($content);
 }
 public function testCaptionWithNoWidth()
 {
     $result = $this->chain->process('[caption]<img src="http://placehold.it/300x200" />[/caption]');
     $this->assertEquals('<img src="http://placehold.it/300x200" />', $result);
 }