register(); $uuidFactoryReference = (new ReflectionProperty(Str::class, 'uuidFactory')) ->getValue(); $this->assertIsCallable($uuidFactoryReference); $this->assertIsString($uuidFactoryReference); $this->assertEquals(Uuid::class . '::uuid', $uuidFactoryReference); $this->assertTrue(Str::isUuid(Str::uuid()), 'Is a UUID'); } }