public function testReplacesLongerThanInputText()
{
$handlers = new HandlerContainer();
$handlers->add('x', function () {
return '<length>';
});
$processor = new Processor(new RegularParser(), $handlers);
$this->assertSame('<length><length><length>', $processor->process('[x][x][x]'));
}