---
title: ResolvedValueQueryResult
framework: appintentstesting
role: symbol
role_heading: Structure
path: appintentstesting/resolvedvaluequeryresult
---

# ResolvedValueQueryResult

The result of an intent value query.

## Declaration

```swift
struct ResolvedValueQueryResult
```

## Overview

Overview Use the resolved value query result to verify that your IntentValueQuery returns the expected results as shown in the following example: let result = try await searchQuery.values(for: "Arizona")

// Verify individual items. XCTAssertEqual(try result.items[0].name, "Botanical Garden")

// Cast items to a concrete value for additional verifications. let entity: AnyAppEntity =     try result.items[0].as(AnyAppEntity.self)

## Topics

### Accessing query results

- [items](appintentstesting/resolvedvaluequeryresult/items.md)

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Intent and query result verification

- [ResolvedIntentResult](appintentstesting/resolvedintentresult.md)
