public function testHasConstant()
{
$reflector = new ClassReflector($this->getComposerLocator());
$classInfo = $reflector->reflect('\\BetterReflectionTest\\Fixture\\ExampleClass');
$this->assertFalse($classInfo->hasConstant('NON_EXISTENT_CONSTANT'));
$this->assertTrue($classInfo->hasConstant('MY_CONST_1'));
}