public function ClassUtilsTest::testNewReflectionObject in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/common/tests/Doctrine/Tests/Common/Util/ClassUtilsTest.php \Doctrine\Tests\Common\Util\ClassUtilsTest::testNewReflectionObject()
@dataProvider dataGetClass
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Util/ ClassUtilsTest.php, line 61
Class
Namespace
Doctrine\Tests\Common\UtilCode
public function testNewReflectionObject($className, $expectedClassName) {
$object = new $className();
$reflClass = ClassUtils::newReflectionObject($object);
$this
->assertEquals($expectedClassName, $reflClass
->getName());
}