You are here

public function ClassUtilsTest::testNewReflectionClass in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/common/tests/Doctrine/Tests/Common/Util/ClassUtilsTest.php \Doctrine\Tests\Common\Util\ClassUtilsTest::testNewReflectionClass()

@dataProvider dataGetClass

File

vendor/doctrine/common/tests/Doctrine/Tests/Common/Util/ClassUtilsTest.php, line 52

Class

ClassUtilsTest

Namespace

Doctrine\Tests\Common\Util

Code

public function testNewReflectionClass($className, $expectedClassName) {
  $reflClass = ClassUtils::newReflectionClass($className);
  $this
    ->assertEquals($expectedClassName, $reflClass
    ->getName());
}