public function testCannotClone()
{
$php = '<?php function foo() {}';
$functionInfo = (new FunctionReflector(new StringSourceLocator($php)))->reflect('foo');
$this->expectException(Uncloneable::class);
$unused = clone $functionInfo;
}