public testProcessorWithoutContentAutoProcessing ( ) |
public function testProcessorWithoutContentAutoProcessing()
{
$processor = new Processor(new RegexParser(), $this->getHandlers());
$text = 'x [content]a-[name][/name]-b[/content] y';
$this->assertSame('x a-[name][/name]-b y', $processor->withAutoProcessContent(false)->process($text));
}