public function testHasReturnTypeWhenTypeDeclared()
{
$reflector = new FunctionReflector(new SingleFileSourceLocator(__DIR__ . '/../Fixture/Php7ReturnTypeDeclarations.php'));
$functionInfo = $reflector->reflect('returnsString');
$this->assertTrue($functionInfo->hasReturnType());
}