<!--
{
  "availability" : [
    "iOS: 27.3.0 -",
    "iPadOS: 27.3.0 -",
    "macCatalyst: 27.3.0 -",
    "macOS: 27.3.0 -",
    "tvOS: 27.3.0 -",
    "visionOS: 27.3.0 -",
    "watchOS: 27.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntentsTesting",
  "identifier" : "/documentation/AppIntentsTesting/AppEntityExpectationProviding",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "App Intents Testing"
    ],
    "preciseIdentifier" : "s:17AppIntentsTesting0A26EntityExpectationProvidingP"
  },
  "title" : "AppEntityExpectationProviding"
}
-->

# AppEntityExpectationProviding

A value expectation that checks an app entity’s type and, optionally, its
identifier or property values.

```
protocol AppEntityExpectationProviding : IntentValueExpectation
```

## Overview

An entity definition on its own expects any entity of its type. Call
[`expect`](/documentation/AppIntentsTesting/AppEntityDefinition/expect) to also check property values, or
[`expectIdentifier(_:)`](/documentation/AppIntentsTesting/AppEntityDefinition/expectIdentifier(_:)) to expect a specific instance.
Use entity expectations to check an intent result, a property that holds an
entity, or an entity on its own with
[`isSatisfied(by:)`](/documentation/AppIntentsTesting/IntentValueExpectation/isSatisfied(by:)).

You get entity expectations from entity definitions. Don’t declare new
conformances to this protocol.

## Relationships

### Conforming Types

[`AppEntityExpectation`](/documentation/AppIntentsTesting/AppEntityExpectation)

[`AppEntityDefinition`](/documentation/AppIntentsTesting/AppEntityDefinition)

[`AppEntityIdentifierExpectation`](/documentation/AppIntentsTesting/AppEntityIdentifierExpectation)

### Inherits From

[`IntentValueExpectation`](/documentation/AppIntentsTesting/IntentValueExpectation)

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

### Inherited By

[`ResolvableAppEntityExpectation`](/documentation/AppIntentsTesting/ResolvableAppEntityExpectation)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)