public function testGetConstant()
 {
     $parsedRefClass = $this->parsedRefFileNamespace->getClass('Go\\ParserReflection\\Stub\\ClassWithScalarConstants');
     $originalRefClass = new \ReflectionClass('Go\\ParserReflection\\Stub\\ClassWithScalarConstants');
     $this->assertSame($originalRefClass->getConstant('D'), $parsedRefClass->getConstant('D'));
     $this->assertSame($originalRefClass->getConstant('E'), $parsedRefClass->getConstant('E'));
 }
 public function testHasFunction()
 {
     $hasFunction = $this->parsedRefFileNamespace->hasFunction('Unknown');
     $this->assertFalse($hasFunction);
     $hasFunction = $this->parsedRefFileNamespace->hasFunction('testFunctionBar');
     $this->assertTrue($hasFunction);
 }