public function testReflectionWorksWithInternalClasses()
{
$foo = new \stdClass();
$classInfo = ReflectionObject::createFromInstance($foo);
$this->assertInstanceOf(ReflectionObject::class, $classInfo);
$this->assertSame('stdClass', $classInfo->getName());
$this->assertTrue($classInfo->isInternal());
}