public function InstantiatorTest::testInstantiationFromNonExistingClass in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/instantiator/tests/DoctrineTest/InstantiatorTest/InstantiatorTest.php \DoctrineTest\InstantiatorTest\InstantiatorTest::testInstantiationFromNonExistingClass()
@dataProvider getInvalidClassNames
Parameters
string $invalidClassName:
File
- vendor/
doctrine/ instantiator/ tests/ DoctrineTest/ InstantiatorTest/ InstantiatorTest.php, line 135
Class
- InstantiatorTest
- Tests for { @author Marco Pivetta <ocramius@gmail.com>
Namespace
DoctrineTest\InstantiatorTestCode
public function testInstantiationFromNonExistingClass($invalidClassName) {
$this
->setExpectedException('Doctrine\\Instantiator\\Exception\\InvalidArgumentException');
$this->instantiator
->instantiate($invalidClassName);
}