@expectedException Twig_Error_Syntax @expectedExceptionMessage Unclosed "variable" at line 3
public function testUnterminatedVariable() {
$template = '
{{
bar
';
$lexer = new Twig_Lexer(new Twig_Environment());
$stream = $lexer
->tokenize($template);
}