---
title: IntentValueExpectationCallable
framework: appintentstesting
role: symbol
role_heading: Structure
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/intentvalueexpectationcallable
---

# IntentValueExpectationCallable

A value that you call with labeled value expectations to create an expectation on the corresponding parameters or properties.

## Declaration

```swift
@dynamicCallable struct IntentValueExpectationCallable<Argument, Expectation> where Argument : Sendable
```

## Overview

Overview A callable lets you write an expectation as a single call, where each argument label names a parameter or property and each argument is the value expectation for it. The callable’s argument type determines which value expectations the arguments accept, and its expectation type is the expectation the call creates. You don’t create a callable directly. Get one from the expect property of a definition, such as expect or expect, and call it like a method: let createEventIntentDefinition = definitions.intents["CreateEventIntent"] let expectation = createEventIntentDefinition.expect(     title: .contains("NASA") )

## Topics

### Instance Methods

- [dynamicallyCall(withKeywordArguments:)](appintentstesting/intentvalueexpectationcallable/dynamicallycall(withkeywordarguments:).md)

## Relationships

### Conforms To

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