Наследование: extends eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\ContainerConfigBuilder
 public function testAddResource()
 {
     $containerBuilder = new ContainerBuilder();
     $configBuilder = new PoliciesConfigBuilder($containerBuilder);
     $resource1 = new FileResource(__FILE__);
     $resource2 = new DirectoryResource(__DIR__);
     $configBuilder->addResource($resource1);
     $configBuilder->addResource($resource2);
     self::assertSame([$resource1, $resource2], $containerBuilder->getResources());
 }