public function DefinitionTest::testExceptionOnEmptyMethodCall in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/Tests/DefinitionTest.php \Symfony\Component\DependencyInjection\Tests\DefinitionTest::testExceptionOnEmptyMethodCall()
@expectedException \Symfony\Component\DependencyInjection\Exception\InvalidArgumentException @expectedExceptionMessage Method name cannot be empty.
File
- vendor/
symfony/ dependency-injection/ Tests/ DefinitionTest.php, line 113
Class
Namespace
Symfony\Component\DependencyInjection\TestsCode
public function testExceptionOnEmptyMethodCall() {
$def = new Definition('stdClass');
$def
->addMethodCall('');
}