You are here

public function Twig_Test_EscapingTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/test/Twig/Tests/escapingTest.php \Twig_Test_EscapingTest::setUp()

Sets up the fixture, for example, open a network connection. This method is called before a test is executed.

Overrides PHPUnit_Framework_TestCase::setUp

File

vendor/twig/twig/test/Twig/Tests/escapingTest.php, line 147

Class

Twig_Test_EscapingTest
This class is adapted from code coming from Zend Framework.

Code

public function setUp() {
  $this->env = new Twig_Environment($this
    ->getMock('Twig_LoaderInterface'));
}