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