protected function getPathValue($key, $properties)
    {
        if (!array_key_exists($key, $properties)) {
            return null;
        }

        return new ObjectPathValue($key, $properties[$key]);
    }