assertEquals('foo', $node->getAttribute('name')); } public function getTests() { $tests = array(); $tests[] = array(new Twig_Node_Expression_Parent('foo', 1), '$this->renderParentBlock("foo", $context, $blocks)'); return $tests; } }