---
title: AppIntentExpectationProviding
framework: appintentstesting
role: symbol
role_heading: Protocol
platforms: [iOS 27.3+, iPadOS 27.3+, Mac Catalyst 27.3+, macOS 27.3+, tvOS 27.3+, visionOS 27.3+, watchOS 27.3+]
path: appintentstesting/appintentexpectationproviding
---

# AppIntentExpectationProviding

A type that describes the app intent you expect, including its type and, optionally, its parameter values and result.

## Declaration

```swift
protocol AppIntentExpectationProviding : Sendable
```

## Overview

Overview An intent definition on its own expects any intent of its type, whatever its parameters are. Call expect to also check parameter values, and result(_:) or result(_:) to check the result. Check an intent with isSatisfied(by:result:), or pass the expectation to a framework that takes intent expectations. You get intent expectations from intent definitions. Don’t declare new conformances to this protocol. For example, expect an intent with a title that contains a substring: let expectation = createEventIntentDefinition.expect(     title: .contains("NASA") ) let isSatisfied = try await expectation.isSatisfied(by: intent)

## Topics

### Instance Methods

- [isSatisfied(by:result:)](appintentstesting/appintentexpectationproviding/issatisfied(by:result:).md)

## Relationships

### Inherits From

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

### Conforming Types

- [AppIntentDefinition](appintentstesting/appintentdefinition.md)
- [AppIntentExpectation](appintentstesting/appintentexpectation.md)
