You are here

public function StaticReflectionServiceTest::testGetParentClasses in Zircon Profile 8.0

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

File

vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/StaticReflectionServiceTest.php, line 46

Class

StaticReflectionServiceTest
@group DCOM-93

Namespace

Doctrine\Tests\Common\Persistence\Mapping

Code

public function testGetParentClasses() {
  $classes = $this->reflectionService
    ->getParentClasses(__CLASS__);
  $this
    ->assertTrue(count($classes) == 0, "The test class " . __CLASS__ . " should have no parents according to static reflection.");
}