public function testShouldInitializeDependencies()
 {
     $dependency = $this->getMock('Symfony\\Component\\DependencyInjection\\ContainerInterface');
     $object = $this->getMock('Oro\\Component\\Layout\\Tests\\Unit\\Extension\\Theme\\Stubs\\LayoutUpdateWithDependency');
     $object->expects($this->once())->method('setContainer')->with($this->identicalTo($dependency));
     $this->container->set('dependency_service_id', $dependency);
     $this->initializer->addKnownDependency('\\Symfony\\Component\\DependencyInjection\\ContainerAwareInterface', 'setContainer', 'dependency_service_id');
     $this->initializer->initialize($object);
 }