You are here

public function RuntimeReflectionServiceTest::testGetParentClasses in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/RuntimeReflectionServiceTest.php \Doctrine\Tests\Common\Persistence\Mapping\RuntimeReflectionServiceTest::testGetParentClasses()

File

vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/RuntimeReflectionServiceTest.php, line 51

Class

RuntimeReflectionServiceTest
@group DCOM-93

Namespace

Doctrine\Tests\Common\Persistence\Mapping

Code

public function testGetParentClasses() {
  $classes = $this->reflectionService
    ->getParentClasses(__CLASS__);
  $this
    ->assertTrue(count($classes) >= 1, "The test class " . __CLASS__ . " should have at least one parent.");
}