
    public function testGetPropertiesWithObjectClassResolver(): void
    {
        $object = new \stdClass();
        $classResolver = function ($objectArg) use ($object): string {
            $this->assertSame($object, $objectArg);

            return 'foo';
        };
