ResolvableIntentValueExpectation
A value expectation that checks a value as the caller passed it, before any query runs.
Declaration
protocol ResolvableIntentValueExpectation : IntentValueExpectationOverview
Intent parameters hold values as the caller passed them, so expect accepts only expectations that conform to this protocol. For an entity parameter, you can check its type with an AppEntityDefinition or its identifier with an AppEntityIdentifierExpectation, but not its properties, because no query has run to populate them.
You get resolvable expectations from the static members that the framework provides, such as contains(_:) and isNil, and from entity definitions and identifier expectations. Don’t declare new conformances to this protocol.