public function setContainer(ContainerInterface $container = null) { $this->container = $container; }
protected function setUp() { parent::setUp(); $this->container = $this->getMock('Symfony\\Component\\DependencyInjection\\ContainerInterface'); $this->loader = new ContainerAwareLoader(); $this->loader->setContainer($this->container); }