/**
  * @covers phpDocumentor\Descriptor\ConstantDescriptor::getTypes
  * @covers phpDocumentor\Descriptor\ConstantDescriptor::getVar
  */
 public function testGetTypesUsingInheritanceOfVarTag()
 {
     $expected = array('string', 'null');
     $constantName = 'CONSTANT';
     $this->fixture->setName($constantName);
     $parentClass = $this->createParentClassWithSuperClassAndConstant($expected, $constantName);
     // Attempt to get the types; which come from the superclass' constants
     $this->fixture->setParent($parentClass);
     $types = $this->fixture->getTypes();
     $this->assertSame($expected, $types);
 }