You are here

public function RuntimeReflectionServiceTest::testGetParentClasses in Plug 7

File

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