public function ContainerTest::scopeExceptionTestProvider in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php \Drupal\Tests\Component\DependencyInjection\ContainerTest::scopeExceptionTestProvider()
Data provider for scopeExceptionTestProvider().
Return value
array[] Returns per data set an array with:
- method name to call
- argument to pass
File
- core/
tests/ Drupal/ Tests/ Component/ DependencyInjection/ ContainerTest.php, line 685 - Contains \Drupal\Tests\Component\DependencyInjection\ContainerTest.
Class
- ContainerTest
- @coversDefaultClass \Drupal\Component\DependencyInjection\Container @group DependencyInjection
Namespace
Drupal\Tests\Component\DependencyInjectionCode
public function scopeExceptionTestProvider() {
$scope = $this
->prophesize('\\Symfony\\Component\\DependencyInjection\\ScopeInterface')
->reveal();
return array(
array(
'enterScope',
'test_scope',
),
array(
'leaveScope',
'test_scope',
),
array(
'hasScope',
'test_scope',
),
array(
'isScopeActive',
'test_scope',
),
array(
'addScope',
$scope,
),
);
}