function ContainerTest::testResolveServicesAndParametersForRawArgument
Tests that raw type services arguments are resolved correctly.
@covers ::get
@covers ::createService
@covers ::resolveServicesAndParameters
File
-
core/
tests/ Drupal/ Tests/ Component/ DependencyInjection/ ContainerTest.php, line 696
Class
- ContainerTest
- @coversDefaultClass \Drupal\Component\DependencyInjection\Container[[api-linebreak]] @group DependencyInjection
Namespace
Drupal\Tests\Component\DependencyInjectionCode
public function testResolveServicesAndParametersForRawArgument() : void {
$this->assertEquals([
'ccc',
], $this->container
->get('service_with_raw_argument')
->getArguments());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.