You are here

public function ClassUtilsTest::testNewReflectionClass in Plug 7

@dataProvider dataGetClass

File

lib/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());
}