Goetas\Twital\Tests\DynamicAttrAttributeTest::setUp PHP Method

setUp() protected method

Prepares the environment before running a test.
protected setUp ( )
    protected function setUp()
    {
        parent::setUp();
        $twitalLoader = new TwitalLoader(new StringLoader(), null, false);
        $twitalLoader->addSourceAdapter("/.*/", new XMLAdapter());
        $this->twig = new \Twig_Environment($twitalLoader);
    }