@expectedException Twig_Error_Syntax @dataProvider getFailingTestsForArray
public function testArraySyntaxError($template) {
$env = new Twig_Environment(new Twig_Loader_String(), array(
'cache' => false,
'autoescape' => false,
));
$parser = new Twig_Parser($env);
$parser
->parse($env
->tokenize($template, 'index'));
}