public function testCannotClone()
{
$classInfo = $this->reflector->reflect('\\BetterReflectionTest\\Fixture\\ExampleClass');
$publicProp = $classInfo->getProperty('publicProperty');
$this->expectException(Uncloneable::class);
$unused = clone $publicProp;
}