public function testCreateFromType() { $type = new Types\String_(); $typeInfo = ReflectionType::createFromType($type, false); $this->assertInstanceOf(ReflectionType::class, $typeInfo); }