protected function setUp()
{
parent::setUp();
// @deprecated Remove once we are Sf 3.x only, for Symfony 2.x compatibility
if (interface_exists('Symfony\\Component\\DependencyInjection\\IntrospectableContainerInterface')) {
$this->container = $this->getMock('\\Symfony\\Component\\DependencyInjection\\IntrospectableContainerInterface');
} else {
$this->container = $this->getMock('\\Symfony\\Component\\DependencyInjection\\ContainerInterface');
}
$this->expressionLanguage = $this->getMock('\\Symfony\\Component\\DependencyInjection\\ExpressionLanguage');
}