execute method
Implementation
Future<void> execute(TestOperation operation) async {
final descriptor = operationRegistry.requireDescriptor(
operation,
expectedKind: OperationKind.interaction,
);
final handled = await executor.executeRegisteredInteraction(
operation,
descriptor: descriptor,
);
if (!handled) {
throw StateError(
'No local action is registered for "${descriptor.handlerKey}".',
);
}
}