You are here

public function ClassUtilsTest::testGetClass in Plug 7

@dataProvider dataGetClass

File

lib/doctrine/common/tests/Doctrine/Tests/Common/Util/ClassUtilsTest.php, line 32

Class

ClassUtilsTest

Namespace

Doctrine\Tests\Common\Util

Code

public function testGetClass($className, $expectedClassName) {
  $object = new $className();
  $this
    ->assertEquals($expectedClassName, ClassUtils::getClass($object));
}