public function testReflectingWithinNamespace()
{
$php = '<?php
namespace Foo;
class Bar {}
';
$classInfo = (new Locator())->findReflection(new ClassReflector(new StringSourceLocator($php)), new LocatedSource($php, null), $this->getIdentifier('Foo\\Bar', IdentifierType::IDENTIFIER_CLASS));
$this->assertInstanceOf(ReflectionClass::class, $classInfo);
}