@expectedException Twig_Error_Syntax @expectedExceptionMessage A template that extends another one cannot have a body but a byte order mark (BOM) has been detected; it must be removed at line 0.
public function testFilterBodyNodesWithBOM() {
$parser = $this
->getParserForFilterBodyNodes();
$parser
->filterBodyNodes(new Twig_Node_Text(chr(0xef) . chr(0xbb) . chr(0xbf), 0));
}