You are here

public function Twig_Tests_TemplateTest::testGetSource in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/test/Twig/Tests/TemplateTest.php \Twig_Tests_TemplateTest::testGetSource()

File

vendor/twig/twig/test/Twig/Tests/TemplateTest.php, line 87

Class

Twig_Tests_TemplateTest

Code

public function testGetSource() {
  $template = new Twig_TemplateTest(new Twig_Environment($this
    ->getMock('Twig_LoaderInterface')), false);
  $this
    ->assertSame("<? */*bar*/ ?>\n", $template
    ->getSource());
}