Accessing the container in Symfony2 WebTestCase, returns NULL

Viewed 5529

I'm trying to access the container in a Symfony2 WebTestCase and i'm getting NULL. Any ideas? Here's my code:

$this->client = static::createClient();
$container = $this->client->getContainer();
1 Answers
Related