You are here

public function Twig_Tests_Node_BlockReferenceTest::getTests in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/test/Twig/Tests/Node/BlockReferenceTest.php \Twig_Tests_Node_BlockReferenceTest::getTests()

Overrides Twig_Test_NodeTestCase::getTests

File

vendor/twig/twig/test/Twig/Tests/Node/BlockReferenceTest.php, line 21

Class

Twig_Tests_Node_BlockReferenceTest

Code

public function getTests() {
  return array(
    array(
      new Twig_Node_BlockReference('foo', 1),
      <<<EOF
// line 1
\$this->displayBlock('foo', \$context, \$blocks);
EOF
,
    ),
  );
}