public function DefinitionTest::testExceptionOnEmptyMethodCall in Service Container 7
Same name and namespace in other branches
- 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/DefinitionTest.php \Symfony\Component\DependencyInjection\Tests\DefinitionTest::testExceptionOnEmptyMethodCall()
@expectedException \Symfony\Component\DependencyInjection\Exception\InvalidArgumentException @expectedExceptionMessage Method name cannot be empty.
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Tests/ DefinitionTest.php, line 113
Class
Namespace
Symfony\Component\DependencyInjection\TestsCode
public function testExceptionOnEmptyMethodCall() {
$def = new Definition('stdClass');
$def
->addMethodCall('');
}