public function setUp()
{
$this->twigLoader = new \Twig_Loader_Array(array('blocks.html.twig' => file_get_contents(__DIR__ . '/../../../../Twig/Resources/layouts/blocks.html.twig')));
$this->twig = new \Twig_Environment($this->twigLoader, array('base_template_class' => 'Carew\\Twig\\Template'));
$this->twig->addExtension(new \Twig_Extension_StringLoader());
$this->twig->addExtension(new CarewExtension(new \Pimple()));
$this->twig->addGlobal('carew', new Globals());
$this->twigListenner = new Twig($this->twig);
}