public function testNameMethodsWithoutNamespace()
{
$php = '<?php function foo() {}';
$reflector = new FunctionReflector(new StringSourceLocator($php));
$functionInfo = $reflector->reflect('foo');
$this->assertSame('foo', $functionInfo->getName());
$this->assertSame('', $functionInfo->getNamespaceName());
$this->assertSame('foo', $functionInfo->getShortName());
}