public function testMultipleParent()
{
$parents = 0;
$handlers = new HandlerContainer();
$handlers->add('p', function (ProcessedShortcode $s) use(&$parents) {
$parents += $s->getParent() ? 1 : 0;
});
$handlers->addAlias('q', 'p');
$processor = new Processor(new RegexParser(), $handlers);
$processor->process('x [p] [q]a[/q] [q]b[/q] [q]c[/q] [/p] y');
$this->assertSame(3, $parents);
}