You are here

public function ClassUtilsTest::testGetParentClass 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::testGetParentClass()

File

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

Class

ClassUtilsTest

Namespace

Doctrine\Tests\Common\Util

Code

public function testGetParentClass() {
  $parentClass = ClassUtils::getParentClass('MyProject\\Proxies\\__CG__\\OtherProject\\Proxies\\__CG__\\Doctrine\\Tests\\Common\\Util\\ChildObject');
  $this
    ->assertEquals('stdClass', $parentClass);
}